on xenial help sign in
Prevent sidestage from popping out incorrectly when app launched indirectly
fbe3fd3Gerry Boland
qml/Components/Stage.qml+3−1
@@ -65,7 +65,9 @@ Showable {
65
65
66 function activateApplication(desktopFile, addDelay) {
66 function activateApplication(desktopFile, addDelay) {
67 var application = applicationManager.getApplicationFromDesktopFile(desktopFile, stage.type);
67 var application = applicationManager.getApplicationFromDesktopFile(desktopFile, stage.type);
68+ if (application == null) {
69+ return;
68− if (application != null && application == stage.focusedApplication) {
70+ } else if (application == stage.focusedApplication) {
69 stage.show();
71 stage.show();
70 return;
72 return;
71 }
73 }