[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r8339 - gnuradio/branches/releases/3.1/gr-wxgui/src/py
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r8339 - gnuradio/branches/releases/3.1/gr-wxgui/src/python |
Date: |
Fri, 9 May 2008 00:32:38 -0600 (MDT) |
Author: jcorgan
Date: 2008-05-09 00:32:38 -0600 (Fri, 09 May 2008)
New Revision: 8339
Modified:
gnuradio/branches/releases/3.1/gr-wxgui/src/python/fftsink2.py
Log:
Applied changeset r8279 on trunk to release branch.
Modified: gnuradio/branches/releases/3.1/gr-wxgui/src/python/fftsink2.py
===================================================================
--- gnuradio/branches/releases/3.1/gr-wxgui/src/python/fftsink2.py
2008-05-09 02:21:39 UTC (rev 8338)
+++ gnuradio/branches/releases/3.1/gr-wxgui/src/python/fftsink2.py
2008-05-09 06:32:38 UTC (rev 8339)
@@ -374,7 +374,10 @@
self.PopupMenu(menu, event.GetPosition())
def evt_motion(self, event):
- # Clip to plotted values
+ if not hasattr(self, "_points"):
+ return # Got here before first window data update
+
+ # Clip to plotted values
(ux, uy) = self.GetXY(event) # Scaled position
x_vals = numpy.array(self._points[:,0])
if ux < x_vals[0] or ux > x_vals[-1]:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r8339 - gnuradio/branches/releases/3.1/gr-wxgui/src/python,
jcorgan <=