mirror of https://github.com/m-labs/artiq.git
gui/experiments: float/bring into focus already open docks when opening experiments
This commit is contained in:
parent
ebb959cd50
commit
022a1ffd09
|
@ -488,7 +488,9 @@ class ExperimentManager:
|
|||
|
||||
def open_experiment(self, expurl):
|
||||
if expurl in self.open_experiments:
|
||||
return self.open_experiments[expurl]
|
||||
dock = self.open_experiments[expurl]
|
||||
self.dock_area.floatDock(dock)
|
||||
return dock
|
||||
dock = _ExperimentDock(self, expurl)
|
||||
self.open_experiments[expurl] = dock
|
||||
self.dock_area.floatDock(dock)
|
||||
|
|
Loading…
Reference in New Issue