forked from M-Labs/artiq
browser: fix argument reset (closes #439)
This commit is contained in:
parent
b8e7ea8443
commit
b27682ad20
|
@ -229,9 +229,12 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow):
|
||||||
asyncio.ensure_future(self._load_hdf5_task(uri.path()))
|
asyncio.ensure_future(self._load_hdf5_task(uri.path()))
|
||||||
break
|
break
|
||||||
|
|
||||||
|
async def compute_arginfo(self):
|
||||||
|
return await self._area.compute_arginfo(self.expurl)
|
||||||
|
|
||||||
async def _recompute_arguments(self, overrides={}):
|
async def _recompute_arguments(self, overrides={}):
|
||||||
try:
|
try:
|
||||||
arginfo = await self._area.compute_arginfo(self.expurl)
|
arginfo = await self.compute_arginfo()
|
||||||
except:
|
except:
|
||||||
logger.error("Could not recompute arguments of '%s'",
|
logger.error("Could not recompute arguments of '%s'",
|
||||||
self.expurl, exc_info=True)
|
self.expurl, exc_info=True)
|
||||||
|
|
Loading…
Reference in New Issue