summaryrefslogtreecommitdiff
path: root/gr-wxgui/src/python/plotter/common.py
diff options
context:
space:
mode:
authorBen Reynwar <ben@reynwar.net>2012-06-25 08:09:05 -0700
committerBen Reynwar <ben@reynwar.net>2012-06-25 08:09:05 -0700
commit1f57cf3fee8ded4d58e77bef8ffd8d8ce4aca53c (patch)
tree795a34e4599a88a80040d27dcb2b342e4c705bea /gr-wxgui/src/python/plotter/common.py
parentfd3abfe06ef4f574122d2d2a08b716db8c2b776d (diff)
parent881010202a5054c430d8e5a6f72c206c1cc350ae (diff)
Merge branch 'next' of http://gnuradio.org/git/gnuradio into next
Diffstat (limited to 'gr-wxgui/src/python/plotter/common.py')
-rw-r--r--gr-wxgui/src/python/plotter/common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-wxgui/src/python/plotter/common.py b/gr-wxgui/src/python/plotter/common.py
index 6775b70571..88215e039a 100644
--- a/gr-wxgui/src/python/plotter/common.py
+++ b/gr-wxgui/src/python/plotter/common.py
@@ -103,6 +103,7 @@ class point_label_thread(threading.Thread, mutex):
self._plotter.Bind(wx.EVT_MOTION, lambda evt: self.enqueue(evt.GetPosition()))
self._plotter.Bind(wx.EVT_LEAVE_WINDOW, lambda evt: self.enqueue(None))
self._plotter.Bind(wx.EVT_RIGHT_DOWN, lambda evt: plotter.enable_point_label(not plotter.enable_point_label()))
+ self._plotter.Bind(wx.EVT_LEFT_DOWN, lambda evt: plotter.call_freq_callback(evt.GetPosition()))
#start the thread
threading.Thread.__init__(self)
self.start()