summaryrefslogtreecommitdiff
path: root/gr-wxgui/src/python/number_window.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-wxgui/src/python/number_window.py')
-rw-r--r--gr-wxgui/src/python/number_window.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-wxgui/src/python/number_window.py b/gr-wxgui/src/python/number_window.py
index 8a8249764..ab9d1ebc0 100644
--- a/gr-wxgui/src/python/number_window.py
+++ b/gr-wxgui/src/python/number_window.py
@@ -58,6 +58,8 @@ class control_panel(wx.Panel):
"""
self.parent = parent
wx.Panel.__init__(self, parent)
+ parent[SHOW_CONTROL_PANEL_KEY] = True
+ parent.subscribe(SHOW_CONTROL_PANEL_KEY, self.Show)
control_box = wx.BoxSizer(wx.VERTICAL)
#checkboxes for average and peak hold
control_box.AddStretchSpacer()