summaryrefslogtreecommitdiff
path: root/gr-qtgui/python/qtgui
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2017-08-14 15:15:57 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2017-08-14 15:15:57 -0700
commit7f3bc9cf41bae6c5ddccf4e0f1ce225458fa5fe8 (patch)
tree199326f0678453247ea573e88e2e1fbc82caf3c1 /gr-qtgui/python/qtgui
parent5869dba3e8a9cefc1203ec9037e01e95a847f7f0 (diff)
parentb2a280a9ad4ad13f958fc2e09e29f8afe48b0473 (diff)
Merge branch 'next' into python3
Conflicts: gr-fft/python/fft/logpwrfft.py
Diffstat (limited to 'gr-qtgui/python/qtgui')
-rwxr-xr-xgr-qtgui/python/qtgui/range.py.cmakein2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-qtgui/python/qtgui/range.py.cmakein b/gr-qtgui/python/qtgui/range.py.cmakein
index 00db509762..9ed7706195 100755
--- a/gr-qtgui/python/qtgui/range.py.cmakein
+++ b/gr-qtgui/python/qtgui/range.py.cmakein
@@ -182,11 +182,11 @@ class RangeWidget(QtWidgets.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)