diff --git a/src/qml/main.qml b/src/qml/main.qml
index 736a76f8f946c1ff9ba0bf587a7f6a2dc09eb1cb..e409d263250ff0cefe1810dbb496f06b3f10c7e7 100644
--- a/src/qml/main.qml
+++ b/src/qml/main.qml
@@ -31,6 +31,7 @@ Window {
         text: ''
         informativeText: ''
         detailedText: ''
+        standardButtons: StandardButton.Ok
         onAccepted: Qt.quit()
     }
 
@@ -41,6 +42,7 @@ Window {
         text: ''
         informativeText: ''
         detailedText: ''
+        standardButtons: StandardButton.Ok
         onAccepted: Qt.quit()
     }