@@ -113,7 +113,7 @@ AbstractButton {
113 navigation: (nullifyNavigation || !scope) ? null : getNavigation(navigationId)
113 navigation: (nullifyNavigation || !scope) ? null : getNavigation(navigationId)
114 currentNavigation: root.currentNavigation
114 currentNavigation: root.currentNavigation
115 onEnterNavigation: {
115 onEnterNavigation: {
116− scope.performQuery(navigationQuery);
116+ scope.setNavigationState(newNavigationId, isAltNavigation);
117 // We only need to add a new item to the model
117 // We only need to add a new item to the model
118 // if we have children, otherwise just load it
118 // if we have children, otherwise just load it
119 if (hasChildren) {
119 if (hasChildren) {
@@ -125,7 +125,7 @@ AbstractButton {
127 onGoBackToParentClicked: {
127 onGoBackToParentClicked: {
128− scope.performQuery(navigation.parentQuery);
128+ scope.setNavigationState(navigation.parentNavigationId, isAltNavigation);
129 isGoingBack = true;
129 isGoingBack = true;
130 navigationModel.setProperty(navigationListView.currentIndex - 1, "nullifyNavigation", false);
130 navigationModel.setProperty(navigationListView.currentIndex - 1, "nullifyNavigation", false);
131 navigationListView.currentIndex--;
131 navigationListView.currentIndex--;
@@ -134,7 +134,7 @@ AbstractButton {
134 showList = false;
134 showList = false;
135 if (root.currentNavigation.parentNavigationId == navigation.navigationId) {
135 if (root.currentNavigation.parentNavigationId == navigation.navigationId) {
136 // For leaves we have to go to the parent too
136 // For leaves we have to go to the parent too
137− scope.performQuery(root.currentNavigation.parentQuery);
137+ scope.setNavigationState(root.currentNavigation.parentNavigationId, isAltNavigation);