Remove MouseArea if tooltip is not visible

It should unnecessarily catch any mouse events then. And neither should the ScrollView inside.
This commit is contained in:
Ghostkeeper 2020-08-12 11:07:09 +02:00
parent 3de3d438a5
commit 615c124960
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -61,6 +61,8 @@ UM.PointingRectangle
MouseArea
{
enabled: parent.opacity > 0
visible: enabled
anchors.fill: parent
acceptedButtons: Qt.NoButton
hoverEnabled: true