forked from M-Labs/artiq
set_argument_value warning in browser
This commit is contained in:
parent
d070826911
commit
333b81f789
|
@ -508,5 +508,9 @@ class ExperimentsArea(QtWidgets.QMdiArea):
|
||||||
self.open_experiments.append(dock)
|
self.open_experiments.append(dock)
|
||||||
return dock
|
return dock
|
||||||
|
|
||||||
|
def set_argument_value(self, expurl, name, value):
|
||||||
|
logger.warning("Unable to set argument '%s', dropping change. "
|
||||||
|
"'set_argument_value' not supported in browser.", name)
|
||||||
|
|
||||||
def on_dock_closed(self, dock):
|
def on_dock_closed(self, dock):
|
||||||
self.open_experiments.remove(dock)
|
self.open_experiments.remove(dock)
|
||||||
|
|
|
@ -81,7 +81,7 @@ class Browser(QtWidgets.QMainWindow):
|
||||||
self.files.dataset_changed.connect(
|
self.files.dataset_changed.connect(
|
||||||
self.experiments.dataset_changed)
|
self.experiments.dataset_changed)
|
||||||
|
|
||||||
self.applets = applets.AppletsDock(self, dataset_sub, dataset_ctl, loop=loop)
|
self.applets = applets.AppletsDock(self, dataset_sub, dataset_ctl, self.experiments, loop=loop)
|
||||||
smgr.register(self.applets)
|
smgr.register(self.applets)
|
||||||
atexit_register_coroutine(self.applets.stop, loop=loop)
|
atexit_register_coroutine(self.applets.stop, loop=loop)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue