aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/StandardDialog.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml
index 38f0d369..df1aa2f4 100644
--- a/components/StandardDialog.qml
+++ b/components/StandardDialog.qml
@@ -90,6 +90,10 @@ Rectangle {
function close() {
root.visible = false;
+ // reset button text
+ okButton.text = qsTr("OK")
+ cancelButton.text = qsTr("Cancel")
+
closeCallback();
}