From 42093ace8d0aa7051ccb80538aab90b25a9df846 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Sat, 9 Jul 2016 18:46:16 +0200 Subject: [PATCH] browser: port ea13d00 --- artiq/browser/experiments.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/browser/experiments.py b/artiq/browser/experiments.py index a1bb351b8..95e22d2ea 100644 --- a/artiq/browser/experiments.py +++ b/artiq/browser/experiments.py @@ -256,8 +256,10 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow): arginfo[k][0]["default"] = v self.arguments = self._area.initialize_submission_arguments(arginfo) + state = self.argeditor.save_state() self.argeditor.deleteLater() self.argeditor = _ArgumentEditor(self) + self.argeditor.restore_state(state) self.layout.addWidget(self.argeditor, 0, 0, 1, 5) async def load_hdf5_task(self, filename=None):