StandardDialog: reset button text on close

This commit is contained in:
selsta
2020-04-25 21:10:25 +02:00
parent 585fb2810d
commit 4b0dcb95bf
3 changed files with 4 additions and 2 deletions

View File

@@ -90,6 +90,10 @@ Rectangle {
function close() {
root.visible = false;
// reset button text
okButton.text = qsTr("OK")
cancelButton.text = qsTr("Cancel")
closeCallback();
}