forked from M-Labs/artiq
gui: remove unnecessary state test
This commit is contained in:
parent
bdf1ca25c6
commit
58da76a169
|
@ -260,7 +260,6 @@ class _RangeScan(LayoutWidget):
|
||||||
|
|
||||||
def update_randomize(value):
|
def update_randomize(value):
|
||||||
state["randomize"] = value
|
state["randomize"] = value
|
||||||
if randomize.isChecked() != value:
|
|
||||||
randomize.setChecked(value)
|
randomize.setChecked(value)
|
||||||
|
|
||||||
scanner.startChanged.connect(update_start)
|
scanner.startChanged.connect(update_start)
|
||||||
|
|
Loading…
Reference in New Issue