diff options
Diffstat (limited to 'gr-wxgui/python/common.py')
-rw-r--r-- | gr-wxgui/python/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-wxgui/python/common.py b/gr-wxgui/python/common.py index 57fc530f88..48a62a28ab 100644 --- a/gr-wxgui/python/common.py +++ b/gr-wxgui/python/common.py @@ -24,6 +24,7 @@ ################################################## import wx from gnuradio import gr +from gnuradio import blocks RUN_ALWAYS = gr.prefs().get_bool ('wxgui', 'run_always', False) @@ -47,7 +48,7 @@ class wxgui_hb(object): """ try: assert points[0] == self or points[0][0] == self - copy = gr.copy(self._hb.input_signature().sizeof_stream_item(0)) + copy = blocks.copy(self._hb.input_signature().sizeof_stream_item(0)) handler = self._handler_factory(copy.set_enabled) if RUN_ALWAYS == False: handler(False) #initially disable the copy block |