aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.qml8
-rw-r--r--pages/settings/SettingsLayout.qml6
2 files changed, 12 insertions, 2 deletions
diff --git a/main.qml b/main.qml
index a48feca4..9f711ade 100644
--- a/main.qml
+++ b/main.qml
@@ -53,7 +53,10 @@ import "version.js" as Version
ApplicationWindow {
id: appWindow
- title: "Monero" + (walletName ? " - " + walletName : "")
+ title: "Monero" +
+ (persistentSettings.displayWalletNameInTitleBar && walletName
+ ? " - " + walletName
+ : "")
minimumWidth: 750
minimumHeight: 450
@@ -1394,6 +1397,7 @@ ApplicationWindow {
property bool keyReuseMitigation2: true
property int segregationHeight: 0
property int kdfRounds: 1
+ property bool displayWalletNameInTitleBar: true
property bool hideBalance: false
property bool askPasswordBeforeSending: true
property bool lockOnUserInActivity: true
@@ -1811,7 +1815,7 @@ ApplicationWindow {
TitleBar {
id: titleBar
visible: persistentSettings.customDecorations && middlePanel.state !== "Merchant"
- walletName: appWindow.walletName
+ walletName: persistentSettings.displayWalletNameInTitleBar ? appWindow.walletName : ""
anchors.left: parent.left
anchors.right: parent.right
onCloseClicked: appWindow.close();
diff --git a/pages/settings/SettingsLayout.qml b/pages/settings/SettingsLayout.qml
index 9db3874f..e0cc3389 100644
--- a/pages/settings/SettingsLayout.qml
+++ b/pages/settings/SettingsLayout.qml
@@ -67,6 +67,12 @@ Rectangle {
}
MoneroComponents.CheckBox {
+ checked: persistentSettings.displayWalletNameInTitleBar
+ onClicked: persistentSettings.displayWalletNameInTitleBar = !persistentSettings.displayWalletNameInTitleBar
+ text: qsTr("Display wallet name in title bar") + translationManager.emptyString
+ }
+
+ MoneroComponents.CheckBox {
id: hideBalanceCheckBox
checked: persistentSettings.hideBalance
onClicked: {