mirror of
https://github.com/nqrduck/nqrduck-spectrometer.git
synced 2025-01-02 21:58:08 +00:00
Processing suffix attribute.
This commit is contained in:
parent
f2180af979
commit
e23e9cc9c0
1 changed files with 2 additions and 1 deletions
|
@ -62,6 +62,7 @@ class VisualFloatSetting(VisualSetting):
|
|||
max_value=setting.max_value,
|
||||
slider=setting.slider,
|
||||
double_box=True,
|
||||
suffix=setting.suffix,
|
||||
)
|
||||
self.widget.spin_box.setValue(setting.default)
|
||||
self.spin_box = True
|
||||
|
@ -123,7 +124,7 @@ class VisualIntSetting(VisualSetting):
|
|||
min_value=setting.min_value,
|
||||
max_value=setting.max_value,
|
||||
slider=setting.slider,
|
||||
double_box=True,
|
||||
double_box=False,
|
||||
)
|
||||
self.spin_box = True
|
||||
self.widget.spin_box.setValue(setting.default)
|
||||
|
|
Loading…
Reference in a new issue