Commit 67fe9af6 authored by Roman Alifanov's avatar Roman Alifanov

fix

parent d72c0c2d
...@@ -46,8 +46,7 @@ class NumStepper(BaseWidget): ...@@ -46,8 +46,7 @@ class NumStepper(BaseWidget):
def update_display(self): def update_display(self):
current_value = self.setting._get_backend_value() current_value = self.setting._get_backend_value()
with self.spin.handler_block_by_func(self._on_num_changed): self.spin.set_value(float(current_value))
self.spin.set_value(float(current_value))
self._update_reset_visibility() self._update_reset_visibility()
def _on_num_changed(self, widget): def _on_num_changed(self, widget):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment