Click on checkbox only for checkbox-setting.

People accidentally set (checkbox) settings when mis-clicking slightly when scrolling through the settings.

CURA-9530
This commit is contained in:
Remco Burema 2022-08-05 13:33:50 +02:00
parent 3c9d38ebd4
commit 5b851e4630

View File

@ -15,7 +15,13 @@ SettingItem
contents: MouseArea
{
id: control
anchors.fill: parent
anchors
{
top: parent.top
bottom: parent.bottom
left: parent.left
}
width: UM.Theme.getSize("checkbox").width
hoverEnabled: true
property bool checked: