@@ -107,6 +107,8 @@ FocusScope {
107 if (application == null) {
107 if (application == null) {
110+ edgeDemo.stopDemo();
110 if (application.stage == ApplicationInfo.MainStage || !sideStage.enabled) {
112 if (application.stage == ApplicationInfo.MainStage || !sideStage.enabled) {
111 mainStage.activateApplication(appId, addDelay);
113 mainStage.activateApplication(appId, addDelay);
@@ -541,6 +543,7 @@ FocusScope {
541 greeter.hide()
543 greeter.hide()
546+ onFocusRequested: shell.activateApplication(appId)
@@ -685,12 +688,9 @@ FocusScope {
687 onDashSwipeChanged: if (dashSwipe && stages.shown) dash.setCurrentScope("applications.scope", false, true)
690 onDashSwipeChanged: if (dashSwipe && stages.shown) dash.setCurrentScope("applications.scope", false, true)
688− onLauncherApplicationSelected:{
691+ onLauncherApplicationSelected: {
689− if (edgeDemo.running)
692+ if (!edgeDemo.running)
693− shell.activateApplication(appId)
693+ shell.activateApplication(appId)
695 onShownChanged: {
695 onShownChanged: {
696 if (shown) {
696 if (shown) {