@@ -38,12 +38,9 @@ Item {
38 Connections {
38 Connections {
39 target: scopes
39 target: scopes
40 onLoadedChanged: {
40 onLoadedChanged: {
42− if (set_current_index != undefined) {
41+ if (scopes.loaded && set_current_index != undefined) {
43− setCurrentScopeAtIndex(set_current_index[0], set_current_index[1], set_current_index[2]);
42+ setCurrentScopeAtIndex(set_current_index[0], set_current_index[1], set_current_index[2]);
44− set_current_index = undefined;
43+ set_current_index = undefined;
46− scopesOverview.scope = scopes.getScope("scopesOverview");
@@ -114,7 +111,7 @@ Item {
114 // TODO Investigate if we can switch to a smaller cache buffer when/if UbuntuShape gets more performant
111 // TODO Investigate if we can switch to a smaller cache buffer when/if UbuntuShape gets more performant
115 cacheBuffer: 1073741823
112 cacheBuffer: 1073741823
116 onMovementStarted: currentItem.item.showHeader();
113 onMovementStarted: currentItem.item.showHeader();
117− clip: parent.x != 0 || parent.scale != 1
114+ clip: parent.x != 0
119 // If the number of items is less than the current index, then need to reset to another item.
116 // If the number of items is less than the current index, then need to reset to another item.
120 onCountChanged: {
117 onCountChanged: {