Changeset 8279

Show
Ignore:
Timestamp:
04/25/08 21:26:58
Author:
jcorgan
Message:

Fix race on startup in fftsink2 (Josh Blum)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gnuradio/trunk/gr-wxgui/src/python/fftsink2.py

    r8275 r8279  
    375375 
    376376    def evt_motion(self, event): 
    377         # Clip to plotted values 
     377        if not hasattr(self, "_points"): 
     378            return # Got here before first window data update 
     379             
     380        # Clip to plotted values 
    378381        (ux, uy) = self.GetXY(event)      # Scaled position 
    379382        x_vals = numpy.array(self._points[:,0])