aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-04-28 21:38:59 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-04-28 21:38:59 -0500
commitfd5d1f584eb28f710c83a2b674485fd7ad565c09 (patch)
tree8424f666375cb955a1847379e23dc21f4f2e0898 /components
parent4141832a4d948d7a85cf53c35c167b88a2441219 (diff)
parent4b0dcb95bf32796947bff3ac0d7dc766cc7cd9ea (diff)
downloadmonzero-gui-fd5d1f584eb28f710c83a2b674485fd7ad565c09.tar.gz
monzero-gui-fd5d1f584eb28f710c83a2b674485fd7ad565c09.tar.xz
monzero-gui-fd5d1f584eb28f710c83a2b674485fd7ad565c09.zip
Merge pull request #2861
4b0dcb9 StandardDialog: reset button text on close (selsta)
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();
}