@@ -40,6 +40,8 @@ Showable {
43 dashContent.closePreview();
45 dashContent.closePreview();
45 if (scopeIndex == dashContent.currentIndex && !reset) {
47 if (scopeIndex == dashContent.currentIndex && !reset) {
@@ -50,6 +52,10 @@ Showable {
50 dashContent.setCurrentScopeAtIndex(scopeIndex, animate, reset)
52 dashContent.setCurrentScopeAtIndex(scopeIndex, animate, reset)
55+ function closeOverlayScope() {
53 SortFilterProxyModel {
59 SortFilterProxyModel {
54 id: filteredScopes
60 id: filteredScopes
55 model: Scopes {
61 model: Scopes {
@@ -107,7 +113,7 @@ Showable {
107 clip: scale != 1.0
113 clip: scale != 1.0
108 visible: scope != null
114 visible: scope != null
109 onBack: {
115 onBack: {
110− dashContent.x = 0;
116+ closeOverlayScope();
112 onGotoScope: {
118 onGotoScope: {