summaryrefslogtreecommitdiff
path: root/gr-wxgui/python
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2013-06-13 20:06:05 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2013-06-13 20:06:05 -0700
commit7e62087ae6f8a41c9b8545edb37f1bb352472765 (patch)
treeeef12d8e771043e690e340a9d68868ada0ebcecc /gr-wxgui/python
parent1a285a1d8d8e00f8c135144eb137d1b5c81de586 (diff)
parentd51eab54adbd5a1b065a131e926b5df8082c67c0 (diff)
Merge branch 'maint'
Diffstat (limited to 'gr-wxgui/python')
-rw-r--r--gr-wxgui/python/wxgui/plotter/grid_plotter_base.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-wxgui/python/wxgui/plotter/grid_plotter_base.py b/gr-wxgui/python/wxgui/plotter/grid_plotter_base.py
index a492539575..e1ac311deb 100644
--- a/gr-wxgui/python/wxgui/plotter/grid_plotter_base.py
+++ b/gr-wxgui/python/wxgui/plotter/grid_plotter_base.py
@@ -89,7 +89,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