From b27682ad206960c133866e1db9079a41b23773b6 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Mon, 23 May 2016 10:46:04 +0200 Subject: [PATCH] browser: fix argument reset (closes #439) --- artiq/browser/experiments.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/artiq/browser/experiments.py b/artiq/browser/experiments.py index bafd0986c..fa045f5d1 100644 --- a/artiq/browser/experiments.py +++ b/artiq/browser/experiments.py @@ -229,9 +229,12 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow): asyncio.ensure_future(self._load_hdf5_task(uri.path())) break + async def compute_arginfo(self): + return await self._area.compute_arginfo(self.expurl) + async def _recompute_arguments(self, overrides={}): try: - arginfo = await self._area.compute_arginfo(self.expurl) + arginfo = await self.compute_arginfo() except: logger.error("Could not recompute arguments of '%s'", self.expurl, exc_info=True)