on xenial help sign in
Make tryGenericScopeView show the scope
d8bc292Albert Astals Cid
tests/qmltests/Dash/tst_GenericScopeView.qml+6−1
@@ -40,7 +40,12 @@ Item {
40 Scopes {
40 Scopes {
41 id: scopes
41 id: scopes
42 // for tryGenericScopeView
42 // for tryGenericScopeView
43+ onLoadedChanged: {
44+ if (loaded) {
43− onLoadedChanged: if (loaded) genericScopeView.scope = scopes.getScope(2);
45+ genericScopeView.scope = scopes.getScope(2);
46+ genericScopeView.isCurrent = true;
47+ }
48+ }
44 }
49 }
45
50
46 MockScope {
51 MockScope {