aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-02-01 01:02:36 -0600
committerluigi1111 <luigi1111w@gmail.com>2019-02-01 01:02:36 -0600
commit443e9c260ddfbcea88166133049540aebdd4f477 (patch)
tree851acb15b83ced8ed210fa82958c7bb9b66ea049 /components
parent73d6b2744ede220a291c649e7213ef0795cd7c86 (diff)
parent65f99c9cbcfc42001c42a9cd2d5c80c6d4f98595 (diff)
downloadmonzero-gui-443e9c260ddfbcea88166133049540aebdd4f477.tar.gz
monzero-gui-443e9c260ddfbcea88166133049540aebdd4f477.tar.xz
monzero-gui-443e9c260ddfbcea88166133049540aebdd4f477.zip
Merge pull request #1876
65f99c9 PasswordDialog: cancel button text is more descriptive and dynamic (mmbyday)
Diffstat (limited to 'components')
-rw-r--r--components/PasswordDialog.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml
index eceef188..a5758306 100644
--- a/components/PasswordDialog.qml
+++ b/components/PasswordDialog.qml
@@ -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()