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
1 changed files with 4 additions and 0 deletions

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