mirror of https://github.com/m-labs/artiq.git
browser: react to b3e55b7
This commit is contained in:
parent
26e98a13d0
commit
57e3d9ee34
|
@ -240,6 +240,10 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow):
|
||||||
self.expurl, exc_info=True)
|
self.expurl, exc_info=True)
|
||||||
return
|
return
|
||||||
for k, v in overrides.items():
|
for k, v in overrides.items():
|
||||||
|
# Some values (e.g. scans) may have multiple defaults in a list
|
||||||
|
if isinstance(arginfo[k][0].get("default"), list):
|
||||||
|
arginfo[k][0]["default"].insert(0, v)
|
||||||
|
else:
|
||||||
arginfo[k][0]["default"] = v
|
arginfo[k][0]["default"] = v
|
||||||
self.arguments = self._area.initialize_submission_arguments(arginfo)
|
self.arguments = self._area.initialize_submission_arguments(arginfo)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue