ソースを参照

changed button in errorDialog to close

Malte Veerman 9 年 前
コミット
7f334f777d
1 ファイル変更2 行追加2 行削除
  1. 2 2
      package/contents/ui/ErrorDialog.qml

+ 2 - 2
package/contents/ui/ErrorDialog.qml

@@ -26,8 +26,8 @@ Dialog {
     
     
     title: i18n("Error")
     title: i18n("Error")
     width: text.implicitWidth + 20
     width: text.implicitWidth + 20
-    standardButtons: StandardButton.Ok
-    onAccepted: close()
+    standardButtons: StandardButton.Close
+    onRejected: close()
     
     
     Label {
     Label {
         id: text
         id: text