Merged r11309:11357 from grc branch.
[debian/gnuradio] / gr-wxgui / src / python / plotter / plotter_base.py
index 662365a37fd4c35c1f560625a48318ad2deb5b85..dede5a0ad51b8d5abbf231c02ef40634d66acd77 100644 (file)
@@ -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())