Merge pull request #1876

65f99c9 PasswordDialog: cancel button text is more descriptive and dynamic (mmbyday)
This commit is contained in:
luigi1111 2019-02-01 01:02:36 -06:00
commit 443e9c260d
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -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()