diff options
Diffstat (limited to 'gr-qtgui/python/qtgui/msgcheckbox.py')
-rw-r--r-- | gr-qtgui/python/qtgui/msgcheckbox.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/python/qtgui/msgcheckbox.py b/gr-qtgui/python/qtgui/msgcheckbox.py index 8d2a52ae07..f01c78bc02 100644 --- a/gr-qtgui/python/qtgui/msgcheckbox.py +++ b/gr-qtgui/python/qtgui/msgcheckbox.py @@ -93,7 +93,7 @@ class MsgCheckBox(gr.sync_block, QFrame): elif type(self.pressReleasedDict['Pressed']) == float: self.message_port_pub(pmt.intern("state"), pmt.cons(pmt.intern(self.outputmsgname), - pmt.from_float(self.pressReleasedDict['Pressed']))) + pmt.from_double(self.pressReleasedDict['Pressed']))) else: self.message_port_pub(pmt.intern("state"), pmt.cons(pmt.intern(self.outputmsgname), @@ -112,7 +112,7 @@ class MsgCheckBox(gr.sync_block, QFrame): elif type(self.pressReleasedDict['Released']) == float: self.message_port_pub(pmt.intern("state"), pmt.cons(pmt.intern(self.outputmsgname), - pmt.from_float(self.pressReleasedDict['Released']))) + pmt.from_double(self.pressReleasedDict['Released']))) else: self.message_port_pub(pmt.intern("state"), pmt.cons(pmt.intern(self.outputmsgname), |