summaryrefslogtreecommitdiff
path: root/gr-qtgui/python/qtgui/dialcontrol.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/python/qtgui/dialcontrol.py')
-rw-r--r--gr-qtgui/python/qtgui/dialcontrol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-qtgui/python/qtgui/dialcontrol.py b/gr-qtgui/python/qtgui/dialcontrol.py
index e5c7618b9f..2e19e18219 100644
--- a/gr-qtgui/python/qtgui/dialcontrol.py
+++ b/gr-qtgui/python/qtgui/dialcontrol.py
@@ -135,7 +135,7 @@ class GrDialControl(gr.sync_block, LabeledDialControl):
if self.isFloat:
self.message_port_pub(pmt.intern("value"), pmt.cons(pmt.intern(self.outputmsgname),
- pmt.from_float(new_value)))
+ pmt.from_double(new_value)))
else:
self.message_port_pub(pmt.intern("value"), pmt.cons(pmt.intern(self.outputmsgname),
pmt.from_long(new_value)))