浏览代码

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")
     width: text.implicitWidth + 20
-    standardButtons: StandardButton.Ok
-    onAccepted: close()
+    standardButtons: StandardButton.Close
+    onRejected: close()
     
     Label {
         id: text