forked from M-Labs/artiq
gui: fix scanwidget usage
This commit is contained in:
parent
7f3e1c989d
commit
22b072699f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue