Prevent sidestage from popping out incorrectly when app launched indirectly
commitfbe3fd3b3128281506414378aa8d0f36f91ff746
authorGerry Boland <gerry.boland@canonical.com>
dateFri 21 Feb 2014, 14:55 (13 years ago)
parent7608335
qml/Components/Stage.qml+3−1
@@ -65,7 +65,9 @@ Showable {
6565
6666 function activateApplication(desktopFile, addDelay) {
6767 var application = applicationManager.getApplicationFromDesktopFile(desktopFile, stage.type);
68− if (application != null && application == stage.focusedApplication) {
68+ if (application == null) {
69+ return;
70+ } else if (application == stage.focusedApplication) {
6971 stage.show();
7072 return;
7173 }