summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-wxgui/src/python/plotter/grid_plotter_base.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-wxgui/src/python/plotter/grid_plotter_base.py b/gr-wxgui/src/python/plotter/grid_plotter_base.py
index f1bc8f546d..c6cb611c44 100644
--- a/gr-wxgui/src/python/plotter/grid_plotter_base.py
+++ b/gr-wxgui/src/python/plotter/grid_plotter_base.py
@@ -87,7 +87,10 @@ class grid_plotter_base(plotter_base):
self.unlock()
def call_freq_callback(self, coor):
- x, y = self._point_label_coordinate
+ try:
+ x, y = self._point_label_coordinate
+ except:
+ return
if x < self.padding_left or x > self.width-self.padding_right: return
if y < self.padding_top or y > self.height-self.padding_bottom: return
#scale to window bounds