mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
PasswordDialog: cancel button text is more descriptive and dynamic
This commit is contained in:
parent
97de72b27d
commit
65f99c9cbc
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ Item {
|
||||||
MoneroComponents.StandardButton {
|
MoneroComponents.StandardButton {
|
||||||
id: cancelButton
|
id: cancelButton
|
||||||
small: true
|
small: true
|
||||||
text: qsTr("Cancel") + translationManager.emptyString
|
text: root.walletName.length > 0 ? qsTr("Change wallet") + translationManager.emptyString : qsTr("Cancel") + translationManager.emptyString
|
||||||
KeyNavigation.tab: passwordInput
|
KeyNavigation.tab: passwordInput
|
||||||
onClicked: {
|
onClicked: {
|
||||||
root.close()
|
root.close()
|
||||||
|
|
Loading…
Reference in a new issue