on xenial help sign in
'Apps' should be reposition-able and unfavorite-able when in edit mode (as with other scopes).
f80c113Albert Astals
qml/Dash/ScopesListCategory.qml+3−3
@@ -76,13 +76,13 @@ Item {
76 icon: model.art || ""
76 icon: model.art || ""
77 text: model.title || ""
77 text: model.title || ""
78 subtext: model.subtitle || ""
78 subtext: model.subtitle || ""
79− showStar: model.scopeId != "clickscope" && (root.isFavoritesFeed || root.isOtherFeed)
79+ showStar: root.isFavoritesFeed || root.isOtherFeed
80 isFavorite: root.isFavoritesFeed
80 isFavorite: root.isFavoritesFeed
81
81
82 onClicked: root.requestActivate(result);
82 onClicked: root.requestActivate(result);
83 onRequestFavorite: root.requestFavorite(model.scopeId, favorite);
83 onRequestFavorite: root.requestFavorite(model.scopeId, favorite);
84 onPressed: {
84 onPressed: {
85− if (editMode && model.scopeId != "clickscope") {
85+ if (editMode) {
86 drag.target = dragItem;
86 drag.target = dragItem;
87 dragItem.icon = icon;
87 dragItem.icon = icon;
88 dragItem.text = text;
88 dragItem.text = text;
@@ -119,7 +119,7 @@ Item {
119 visible: dragItem.visible
119 visible: dragItem.visible
120 property int index: {
120 property int index: {
121 var i = Math.round((dragItem.y - list.y) / listItemHeight);
121 var i = Math.round((dragItem.y - list.y) / listItemHeight);
122− if (i <= 0) i = 1;
122+ if (i < 0) i = 0;
123 if (i >= model.count) i = model.count;
123 if (i >= model.count) i = model.count;
124 return i;
124 return i;
125 }
125 }