Modify the hover behavior by removing the mouse area.

Contributes to CURA-5942.
This commit is contained in:
Diego Prado Gesto 2018-11-27 11:26:20 +01:00
parent e2f85fcdc4
commit 75b827d373

View File

@ -16,6 +16,7 @@ Button
leftPadding: UM.Theme.getSize("thick_margin").width leftPadding: UM.Theme.getSize("thick_margin").width
rightPadding: UM.Theme.getSize("thick_margin").width rightPadding: UM.Theme.getSize("thick_margin").width
checkable: true checkable: true
hoverEnabled: true
property var outputDevice: null property var outputDevice: null
property var printerTypesList: [] property var printerTypesList: []
@ -86,14 +87,6 @@ Button
Cura.MachineManager.setActiveMachine(model.id) Cura.MachineManager.setActiveMachine(model.id)
} }
MouseArea
{
id: mouseArea
anchors.fill: parent
onPressed: mouse.accepted = false
hoverEnabled: true
}
Connections Connections
{ {
target: outputDevice target: outputDevice