2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

gui: auto-set ScientificSpinBox relative_step and precision in ScanWidget

This commit is contained in:
Robert Jördens 2016-08-11 17:01:38 +02:00
parent 6fe23b8899
commit 941f6fc859

View File

@ -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):