on xenial help sign in
fix close button sometimes showing when it shouldn't
commit5ec16b76608879e30141221a00268245c4af0e13 authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 14 Sep 2016, 15:49 (10 years ago) parent948f3ae
1 file changed+3−1
qml/Stage/Stage.qml+3−1
qml/Stage/Stage.qml+3−1
@@ -741,7 +741,9 @@ AbstractStage {
741741 if (!appRepeater.startingUp) {
742742 // a top level window is always the focused one when it first appears, unfocusing
743743 // any preexisting one
744− spreadItem.highlightedIndex = index;
744+ if (root.state == "spread") {
745+ spreadItem.highlightedIndex = index;
746+ }
745747 claimFocus();
746748 }
747749