on xenial help sign in
wops vars fighting parameters
commitb3e7770af0bb1fe0c0205a8620f6846a76282436 authorAlbert Astals <albert.astals@canonical.com> dateTue 15 Jul 2014, 16:56 (12 years ago) parent8365782
1 file changed+2−2
qml/Dash/ScopesOverview.qml+2−2
qml/Dash/ScopesOverview.qml+2−2
@@ -215,8 +215,8 @@ Item {
215215 root.favoriteSelected(index)
216216 } else {
217217 var favoriteScopesItem = middleItems.itemAt(0).item;
218− var index = favoriteScopesItem.model.scopeIndex(itemModel.scopeId);
219− if (index > 0) {
218+ var scopeIndex = favoriteScopesItem.model.scopeIndex(itemModel.scopeId);
219+ if (scopeIndex > 0) {
220220 root.allFavoriteSelected(itemModel.scopeId);
221221 } else {
222222 root.allSelected(itemModel.scopeId, item.mapToItem(null, 0, 0));