From c3c13da1a66be32073b4703288af5605606092b6 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Fri, 15 Dec 2017 18:47:08 +0000 Subject: [PATCH] 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). --- artiq/dashboard/experiments.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/dashboard/experiments.py b/artiq/dashboard/experiments.py index 9832f4c2d..78f6a15b0 100644 --- a/artiq/dashboard/experiments.py +++ b/artiq/dashboard/experiments.py @@ -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: