on xenial help sign in
fix hideChildren bug on drag
commitb06ae0850c774626875ff40fab77c2455f52f18e authorAlbert Astals <albert.astals@canonical.com> dateFri 12 Dec 2014, 10:59 (12 years ago) parent97ca86b
1 file changed+2−1
qml/Dash/ScopesListCategoryItem.qml+2−1
qml/Dash/ScopesListCategoryItem.qml+2−1
@@ -91,12 +91,13 @@ MouseArea {
9191 onClicked: if (!editMode) root.requestFavorite(model.scopeId, !isFavorite);
9292 onPressed: if (editMode) root.handlePressed(starArea);
9393 onReleased: if (editMode) root.handleReleased(starArea);
94− visible: !hideChildren && (editMode || showStar)
94+ visible: editMode || showStar
9595 Icon {
9696 id: star
9797 anchors.centerIn: parent
9898 height: units.gu(2)
9999 width: units.gu(2)
100+ visible: !hideChildren
100101 // TODO is view-grid-symbolic what we really want here? Looks good but seems semantically wrong
101102 source: editMode ? "image://theme/view-grid-symbolic" : isFavorite ? "image://theme/starred" : "image://theme/non-starred"
102103 }