forked from M-Labs/artiq
gui: auto-set ScientificSpinBox relative_step and precision in ScanWidget
This commit is contained in:
parent
6fe23b8899
commit
941f6fc859
|
@ -179,7 +179,11 @@ class _RangeScan(LayoutWidget):
|
|||
self.addWidget(stop, 2, 1)
|
||||
|
||||
apply_properties(start)
|
||||
start.setPrecision()
|
||||
start.setRelativeStep()
|
||||
apply_properties(stop)
|
||||
stop.setPrecision()
|
||||
stop.setRelativeStep()
|
||||
apply_properties(scanner)
|
||||
|
||||
def update_start(value):
|
||||
|
|
Loading…
Reference in New Issue