forked from M-Labs/artiq
dashboard: fix 'disable other scans'
This commit is contained in:
parent
56e3c80623
commit
996dfcafc6
|
@ -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