summaryrefslogtreecommitdiff
path: root/gr-qtgui/src/python/pyqt_example_f.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/src/python/pyqt_example_f.py')
-rwxr-xr-xgr-qtgui/src/python/pyqt_example_f.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/src/python/pyqt_example_f.py b/gr-qtgui/src/python/pyqt_example_f.py
index 46fe07e0d..4e36ccca5 100755
--- a/gr-qtgui/src/python/pyqt_example_f.py
+++ b/gr-qtgui/src/python/pyqt_example_f.py
@@ -130,9 +130,9 @@ class my_top_block(gr.top_block):
# Wrap the pointer as a PyQt SIP object
# This can now be manipulated as a PyQt4.QtGui.QWidget
- pyWin = sip.wrapinstance(pyQt, QtGui.QWidget)
+ self.pyWin = sip.wrapinstance(pyQt, QtGui.QWidget)
- self.main_box = dialog_box(pyWin, self.ctrl_win)
+ self.main_box = dialog_box(self.pyWin, self.ctrl_win)
self.main_box.show()