From 22b072699f64cc58a2424a659d50138213c4da88 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Fri, 11 Mar 2016 18:30:27 +0100 Subject: [PATCH] gui: fix scanwidget usage --- artiq/gui/entries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gui/entries.py b/artiq/gui/entries.py index 79064e29b..161f3f342 100644 --- a/artiq/gui/entries.py +++ b/artiq/gui/entries.py @@ -186,7 +186,7 @@ class _RangeScan(LayoutWidget): scanner.setStart(value) def update_max(value): - state["min"] = value*scale + state["max"] = value*scale scanner.setStop(value) def update_npoints(value):