Merge pull request #2861

4b0dcb9 StandardDialog: reset button text on close (selsta)
This commit is contained in:
luigi1111
2020-04-28 21:38:59 -05:00
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();
}