aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authormmbyday <mmbyday@protonmail.com>2018-12-30 00:44:52 -0800
committermmbyday <mmbyday@protonmail.com>2018-12-30 00:44:52 -0800
commit65f99c9cbcfc42001c42a9cd2d5c80c6d4f98595 (patch)
treea8bb26ddafeec8855f8b1d3bfcafdd09791c8ae3 /components
parent97de72b27d56e7869c5e3c13ed3a15db033d0043 (diff)
downloadmonzero-gui-65f99c9cbcfc42001c42a9cd2d5c80c6d4f98595.tar.gz
monzero-gui-65f99c9cbcfc42001c42a9cd2d5c80c6d4f98595.tar.xz
monzero-gui-65f99c9cbcfc42001c42a9cd2d5c80c6d4f98595.zip
PasswordDialog: cancel button text is more descriptive and dynamic
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()