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

dashboard: fix 'disable other scans'

This commit is contained in:
Sebastien Bourdeauducq 2016-09-06 22:50:12 +08:00
parent d571c52800
commit 76c407b4b9

View File

@ -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 = []