Fix close button in qml.

This commit is contained in:
Patrick von Reth 2015-09-05 16:31:13 +02:00
parent 68ab7c9344
commit 420ddbf177

View File

@ -56,7 +56,7 @@ Rectangle {
MouseArea { MouseArea {
id: mouseArea2 id: mouseArea2
anchors.fill: parent anchors.fill: parent
z: 99 z: 90
onClicked: root.invoked() onClicked: root.invoked()
hoverEnabled: true hoverEnabled: true
onEntered: closeButton.visible = true onEntered: closeButton.visible = true
@ -139,9 +139,8 @@ Rectangle {
smooth: true smooth: true
MouseArea { MouseArea {
id: mouseArea1 id: mouseAreaCloseButton
anchors.bottom: parent.bottom anchors.fill: parent
anchors.left: parent.left
onClicked: root.dismissed() onClicked: root.dismissed()
} }
} }