From 65f99c9cbcfc42001c42a9cd2d5c80c6d4f98595 Mon Sep 17 00:00:00 2001 From: mmbyday Date: Sun, 30 Dec 2018 00:44:52 -0800 Subject: [PATCH] PasswordDialog: cancel button text is more descriptive and dynamic --- components/PasswordDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()