@@ -513,16 +513,15 @@ Item {
515 function showDash() {
515 function showDash() {
519 if (greeter.shown) {
516 if (greeter.shown) {
520 greeter.hideRight();
517 greeter.hideRight();
521 launcher.fadeOut();
518 launcher.fadeOut();
521+ if (ApplicationManager.focusedApplicationId != "unity8-dash") {
524− ApplicationManager.requestFocusApplication("unity8-dash")
522+ ApplicationManager.requestFocusApplication("unity8-dash")
525− launcher.fadeOut();
523+ launcher.fadeOut();
@@ -564,15 +563,7 @@ Item {
564 available: edgeDemo.launcherEnabled && (!shell.locked || AccountsService.enableLauncherWhileLocked) && greeter.fakeActiveForApp === ""
563 available: edgeDemo.launcherEnabled && (!shell.locked || AccountsService.enableLauncherWhileLocked) && greeter.fakeActiveForApp === ""
566 onShowDashHome: showHome()
565 onShowDashHome: showHome()
568− if (ApplicationManager.focusedApplicationId != "unity8-dash") {
569− showDash()
566+ onDash: showDash()
571− if (greeter.shown) {
576 onDashSwipeChanged: {
567 onDashSwipeChanged: {
577 if (dashSwipe) {
568 if (dashSwipe) {
578 dash.setCurrentScope("clickscope", false, true)
569 dash.setCurrentScope("clickscope", false, true)