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

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