forked from M-Labs/artiq
dashboard: fix 'disable other scans'
This commit is contained in:
parent
d571c52800
commit
76c407b4b9
|
@ -192,7 +192,7 @@ class _ArgumentEditor(QtWidgets.QTreeWidget):
|
||||||
for name, widgets in self._arg_to_widgets.items():
|
for name, widgets in self._arg_to_widgets.items():
|
||||||
if (name != current_name
|
if (name != current_name
|
||||||
and isinstance(widgets["entry"], ScanEntry)):
|
and isinstance(widgets["entry"], ScanEntry)):
|
||||||
entry.disable()
|
widgets["entry"].disable()
|
||||||
|
|
||||||
def save_state(self):
|
def save_state(self):
|
||||||
expanded = []
|
expanded = []
|
||||||
|
|
Loading…
Reference in New Issue