commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 03/08: qtqui: fixed notches on knob


From: git
Subject: [Commit-gnuradio] [gnuradio] 03/08: qtqui: fixed notches on knob
Date: Sat, 4 Apr 2015 17:39:31 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 5392a4a420c00adbd9a165a5e11ed72c4ba8383c
Author: Thaddeus Koehn <address@hidden>
Date:   Fri Apr 3 15:32:14 2015 -0700

    qtqui: fixed notches on knob
---
 gr-qtgui/python/qtgui/range.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gr-qtgui/python/qtgui/range.py b/gr-qtgui/python/qtgui/range.py
index 2a3aad0..8347963 100755
--- a/gr-qtgui/python/qtgui/range.py
+++ b/gr-qtgui/python/qtgui/range.py
@@ -90,8 +90,8 @@ class RangeWidget(QtGui.QWidget):
             QtGui.QDial.__init__(self, parent)
             self.setRange(0, ranges.ds_steps-1)
             self.setSingleStep(ranges.step)
+            self.setNotchTarget(1)
             self.setNotchesVisible(True)
-            self.setNotchTarget(ranges.step)
             temp = [abs(x-ranges.default) for x in ranges.ds_vals]
             self.setValue(temp.index(min(temp)))
             self.valueChanged.connect(slot)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]