mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
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
Block a user