on xenial help sign in
fix close button sometimes showing when it shouldn't
5ec16b7Michael Zanetti
qml/Stage/Stage.qml+3−1
@@ -741,7 +741,9 @@ AbstractStage {
741 if (!appRepeater.startingUp) {
741 if (!appRepeater.startingUp) {
742 // a top level window is always the focused one when it first appears, unfocusing
742 // a top level window is always the focused one when it first appears, unfocusing
743 // any preexisting one
743 // any preexisting one
744+ if (root.state == "spread") {
744− spreadItem.highlightedIndex = index;
745+ spreadItem.highlightedIndex = index;
746+ }
745 claimFocus();
747 claimFocus();
746 }
748 }
747
749