summaryrefslogtreecommitdiff
path: root/gr-qtgui/python/qtgui/range.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2017-08-14 15:12:05 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2017-08-14 15:12:05 -0700
commit81dd35d7e8d75e86f4dfa49a05353dd166d7dd2f (patch)
tree751be7c3e4f2787a1ab7b00ca7516d585a06a20c /gr-qtgui/python/qtgui/range.py
parent811bee8c54bdca5c53c2ccbc6ef6d1bbca55eaae (diff)
parent7162a7ed65a0d03cb147cbe95f2a47fe68f87ab8 (diff)
Merge branch 'maint'
Diffstat (limited to 'gr-qtgui/python/qtgui/range.py')
-rwxr-xr-xgr-qtgui/python/qtgui/range.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-qtgui/python/qtgui/range.py b/gr-qtgui/python/qtgui/range.py
index ca42bf71f7..f60d6919bf 100755
--- a/gr-qtgui/python/qtgui/range.py
+++ b/gr-qtgui/python/qtgui/range.py
@@ -182,11 +182,11 @@ class RangeWidget(QtGui.QWidget):
self.rangeType = rangeType
# Setup the counter
+ self.setDecimals(ranges.precision)
self.setRange(ranges.min, ranges.max)
self.setValue(ranges.default)
self.setSingleStep(ranges.step)
self.setKeyboardTracking(False)
- self.setDecimals(ranges.precision)
# The counter already handles floats and can be connected directly.
self.valueChanged.connect(self.changed)