mirror of
https://github.com/m-labs/artiq.git
synced 2025-01-12 03:53:34 +08:00
gui: remove unnecessary state test
This commit is contained in:
parent
bdf1ca25c6
commit
58da76a169
@ -260,8 +260,7 @@ class _RangeScan(LayoutWidget):
|
||||
|
||||
def update_randomize(value):
|
||||
state["randomize"] = value
|
||||
if randomize.isChecked() != value:
|
||||
randomize.setChecked(value)
|
||||
randomize.setChecked(value)
|
||||
|
||||
scanner.startChanged.connect(update_start)
|
||||
scanner.numChanged.connect(update_npoints)
|
||||
|
Loading…
Reference in New Issue
Block a user