on xenial help sign in
Handle the openScope signal in "tempScopeItem" (ScopesOverview.qml) as is done with "scopeItem" (Dash.qml) Fixes: 1356410

Approved by: PS Jenkins bot, Albert Astals Cid

commit7654beee41d8d788e4e57f3c487089534e814fa0 authorMarcus Tomlinson <marcus.tomlinson@canonical.com> dateWed 27 Aug 2014, 15:36 (12 years ago) parent4e4ad29e9ac69c
1 file changed+13
qml/Dash/ScopesOverview.qml+13
qml/Dash/ScopesOverview.qml+13
@@ -543,6 +543,19 @@ Item {
543543 scopesOverviewXYScaler.opacity = 0;
544544 middleItems.overrideOpacity = -1;
545545 }
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+ }
546559 }
547560 }
548561}