PasswordDialog: cancel button text is more descriptive and dynamic

pull/2/head
mmbyday 6 years ago
parent 97de72b27d
commit 65f99c9cbc

@ -191,7 +191,7 @@ Item {
MoneroComponents.StandardButton {
id: cancelButton
small: true
text: qsTr("Cancel") + translationManager.emptyString
text: root.walletName.length > 0 ? qsTr("Change wallet") + translationManager.emptyString : qsTr("Cancel") + translationManager.emptyString
KeyNavigation.tab: passwordInput
onClicked: {
root.close()