@@ -175,7 +175,9 @@ AbstractStage {
175 onMinimize: priv.focusedAppDelegate && priv.focusedAppDelegate.minimize();
175 onMinimize: priv.focusedAppDelegate && priv.focusedAppDelegate.minimize();
176 onMaximize: priv.focusedAppDelegate // don't restore minimized apps when double clicking the panel
176 onMaximize: priv.focusedAppDelegate // don't restore minimized apps when double clicking the panel
177 && priv.focusedAppDelegate.restoreFromMaximized();
177 && priv.focusedAppDelegate.restoreFromMaximized();
178+ onFocusMaximizedApp: if (priv.foregroundMaximizedAppIdIndex != -1) {
178− onFocusMaximizedApp: ApplicationManager.focusApplication(appRepeater.itemAt(priv.foregroundMaximizedAppIdIndex).appId)
179+ ApplicationManager.focusApplication(appRepeater.itemAt(priv.foregroundMaximizedAppIdIndex).appId);
181 Binding {
183 Binding {