@@ -127,7 +127,7 @@ Item {
127 var dashContent = findChild(dash, "dashContent");
127 var dashContent = findChild(dash, "dashContent");
128 var current_index = dashContent.currentIndex;
128 var current_index = dashContent.currentIndex;
130− tabbar.selectedIndex = data.visualIndex;
130+ tabbar.model.selectedIndex = data.visualIndex;
131 compare(dashContent.currentIndex, data.shouldBeVisible ? data.visualIndex : current_index);
131 compare(dashContent.currentIndex, data.shouldBeVisible ? data.visualIndex : current_index);