Skip to content

Commit

Permalink
gui/experiments: float/bring into focus already open docks when openi…
Browse files Browse the repository at this point in the history
…ng experiments
sbourdeauducq committed Jan 27, 2016
1 parent ebb959c commit 022a1ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion artiq/gui/experiments.py
Original file line number Diff line number Diff line change
@@ -488,7 +488,9 @@ def get_submission_arguments(self, expurl):

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)

0 comments on commit 022a1ff

Please sign in to comment.