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
1 changed files with 3 additions and 4 deletions

View File

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