Fix cursorShape for sidebar controls

This commit is contained in:
fieldOfView 2015-11-19 17:57:20 +01:00
parent 101df0035d
commit 3a8de56f66
5 changed files with 43 additions and 1 deletions

View file

@ -117,6 +117,13 @@ Rectangle
checkable: true;
checked: base.currentModeIndex == index
onClicked: base.currentModeIndex = index
MouseArea {
anchors.fill: parent
cursorShape: checked ? Qt.ArrowCursor : Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
}
style: ButtonStyle {
background: Rectangle {
border.color: control.checked ? UM.Theme.colors.toggle_checked_border :