From 941f6fc85914cd824af4d3da6f3b33d6dc79a00f Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Thu, 11 Aug 2016 17:01:38 +0200 Subject: [PATCH] gui: auto-set ScientificSpinBox relative_step and precision in ScanWidget --- artiq/gui/entries.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/artiq/gui/entries.py b/artiq/gui/entries.py index 0e1190b97..b04d6ad01 100644 --- a/artiq/gui/entries.py +++ b/artiq/gui/entries.py @@ -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):