Skip to content

Commit

Permalink
[FIX] Update preview on step value change
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Nov 20, 2017
1 parent 73f62df commit 76c6bdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/configmanager/editorwidgets/numberwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ def __init__(self, parent=None):
self.maxEdit.textChanged.connect(self.widgetchanged)
self.prefixEdit.textChanged.connect(self.widgetchanged)
self.suffixEdit.textChanged.connect(self.widgetchanged)
self.places_spin.valueChanged.connect(self.widgetchanged)
self.step_spin.valueChanged.connect(self.widgetchanged)

self.places_spin.setVisible(False)
self.places_label.setVisible(False)

Expand Down Expand Up @@ -53,7 +56,6 @@ def __init__(self, parent=None):
super(DoubleNumberWidgetConfig, self).__init__(parent)
self.places_spin.setVisible(True)
self.places_label.setVisible(True)
self.places_spin.valueChanged.connect(self.widgetchanged)

def getconfig(self):
config = super(DoubleNumberWidgetConfig, self).getconfig()
Expand Down

0 comments on commit 76c6bdb

Please sign in to comment.