forked from M-Labs/artiq
1
0
Fork 0

browser: fix argument reset (closes #439)

This commit is contained in:
Robert Jördens 2016-05-23 10:46:04 +02:00
parent b8e7ea8443
commit b27682ad20
1 changed files with 4 additions and 1 deletions

View File

@ -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)