summaryrefslogtreecommitdiff
path: root/gr-wxgui/src/python/plotter/plotter_base.py
diff options
context:
space:
mode:
authorjblum2009-07-06 02:28:52 +0000
committerjblum2009-07-06 02:28:52 +0000
commit25c5d91fb7c4b54f1e7d77fd9af213a3675a8339 (patch)
tree317d2e623aa9de602197089dab6dcc4fbb17da6f /gr-wxgui/src/python/plotter/plotter_base.py
parenta6396abe127c504f890d0cd45171c46ebfbb0f3d (diff)
downloadgnuradio-25c5d91fb7c4b54f1e7d77fd9af213a3675a8339.tar.gz
gnuradio-25c5d91fb7c4b54f1e7d77fd9af213a3675a8339.tar.bz2
gnuradio-25c5d91fb7c4b54f1e7d77fd9af213a3675a8339.zip
Merged r11309:11357 from grc branch.
Adds notebook cabability to grc and its wxgui windows/controls. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11358 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-wxgui/src/python/plotter/plotter_base.py')
-rw-r--r--gr-wxgui/src/python/plotter/plotter_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-wxgui/src/python/plotter/plotter_base.py b/gr-wxgui/src/python/plotter/plotter_base.py
index 662365a37..dede5a0ad 100644
--- a/gr-wxgui/src/python/plotter/plotter_base.py
+++ b/gr-wxgui/src/python/plotter/plotter_base.py
@@ -168,4 +168,5 @@ class plotter_base(wx.glcanvas.GLCanvas, common.mutex):
"""
Force a paint event.
"""
+ if not self._gl_init_flag: return
wx.PostEvent(self, wx.PaintEvent())