2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

dashboard: fix 'disable other scans'

This commit is contained in:
Sebastien Bourdeauducq 2016-09-06 22:50:12 +08:00
parent 56e3c80623
commit 996dfcafc6

View File

@ -192,7 +192,7 @@ class _ArgumentEditor(QtWidgets.QTreeWidget):
for name, widgets in self._arg_to_widgets.items():
if (name != current_name
and isinstance(widgets["entry"], ScanEntry)):
entry.disable()
widgets["entry"].disable()
def save_state(self):
expanded = []