forked from M-Labs/artiq
dashboard: Restore minimized experiments when trying to open them again
When the user tried to open an experiment from the explorer that already existed, previously "nothing would happen" (focus change without the window being restored).
This commit is contained in:
parent
25022b28c3
commit
c3c13da1a6
|
@ -551,6 +551,8 @@ class ExperimentManager:
|
|||
def open_experiment(self, expurl):
|
||||
if expurl in self.open_experiments:
|
||||
dock = self.open_experiments[expurl]
|
||||
if dock.isMinimized():
|
||||
dock.showNormal()
|
||||
self.main_window.centralWidget().setActiveSubWindow(dock)
|
||||
return dock
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue