summaryrefslogtreecommitdiffstats
path: root/qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml')
-rw-r--r--qml/main.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/qml/main.qml b/qml/main.qml
index 3e84b29..408fbc6 100644
--- a/qml/main.qml
+++ b/qml/main.qml
@@ -44,6 +44,8 @@ ApplicationWindow {
button2.onClicked: messageDialog.show(qsTr("Button 2 pressed"))
button3.onClicked: messageDialog.show(qsTr("Button 3 pressed"))
+
+ buttonClose.onClicked: close()
}
MessageDialog {