Explorar el Código

changed button in errorDialog to close

Malte Veerman hace 10 años
padre
commit
7f334f777d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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