@@ -173,8 +173,9 @@ Item {
173 verify(scopesModel.loaded == true);
173 verify(scopesModel.loaded == true);
175 // test greater than scope count.
175 // test greater than scope count.
176+ var currentScopeIndex = dashContent.currentIndex;
176 dashContent.setCurrentScopeAtIndex(scopesModel.count, true, false);
177 dashContent.setCurrentScopeAtIndex(scopesModel.count, true, false);
177− compare(dashContent.currentIndex, 4);
178+ compare(dashContent.currentIndex, currentScopeIndex, "Scope should not change if changing to greater index than count");
180 function get_current_item_object_name() {
181 function get_current_item_object_name() {