on xenial help sign in
Handle the openScope signal in "tempScopeItem" (ScopesOverview.qml) as is done with "scopeItem" (Dash.qml) Fixes: 1356410
7654beeMarcus Tomlinson
qml/Dash/ScopesOverview.qml+13
@@ -543,6 +543,19 @@ Item {
543 scopesOverviewXYScaler.opacity = 0;
543 scopesOverviewXYScaler.opacity = 0;
544 middleItems.overrideOpacity = -1;
544 middleItems.overrideOpacity = -1;
545 }
545 }
546+ // TODO Add tests for these connections
547+ Connections {
548+ target: tempScopeItem.scope
549+ onOpenScope: {
550+ // TODO Animate the newly opened scope into the foreground (stacked on top of the current scope)
551+ tempScopeItem.scope = scope;
552+ }
553+ onGotoScope: {
554+ tempScopeItem.backClicked();
555+ root.currentTab = 0;
556+ root.scope.gotoScope(scopeId);
557+ }
558+ }
546 }
559 }
547 }
560 }
548}
561}