@@ -100,7 +100,9 @@ FocusScope {
101 // No we didn't, do a quick alt-tab
101 // No we didn't, do a quick alt-tab
102 if (appRepeater.count > 1) {
102 if (appRepeater.count > 1) {
103− appRepeater.itemAt(1).claimFocus();
103+ appRepeater.itemAt(1).activate();
104+ } else if (appRepeater.count > 0) {
105+ appRepeater.itemAt(0).activate(); // quick alt-tab to the only (minimized) window should still activate it
@@ -871,9 +873,6 @@ FocusScope {
872 priv.updateMainAndSideStageIndexes();
874 priv.updateMainAndSideStageIndexes();
874− if (root.mode == "windowed") {
875− appDelegate.restore(true /* animated */, appDelegate.windowState);
877 appDelegate.focus = true;
876 appDelegate.focus = true;