aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorreemuru <rimuru@hiahatf.org>2022-03-18 19:22:07 -0500
committerreemuru <rimuru@hiahatf.org>2022-03-20 06:06:15 -0500
commit0feef2268d49a19b4c69d7cd3053b8b23ed53f5e (patch)
treeda23b9b36c655977610c1e902715cbadd99baee7 /components
parent346913f3db3512a254341d2576124787c5024198 (diff)
downloadmonzero-gui-0feef2268d49a19b4c69d7cd3053b8b23ed53f5e.tar.gz
monzero-gui-0feef2268d49a19b4c69d7cd3053b8b23ed53f5e.tar.xz
monzero-gui-0feef2268d49a19b4c69d7cd3053b8b23ed53f5e.zip
TitleBar: Remove lock icon on essentials display
The lock functionality is shown on the initial welcome screen and the WizardHome. Remove the lock icon until the wallet is actually open, similar to the "Close this wallet" logic. Fixes 346913f: ("SettingsWallet: lock wallet on demand")
Diffstat (limited to 'components')
-rw-r--r--components/TitleBar.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/TitleBar.qml b/components/TitleBar.qml
index 1720c457..b7485465 100644
--- a/components/TitleBar.qml
+++ b/components/TitleBar.qml
@@ -64,11 +64,13 @@ Rectangle {
State {
name: "default";
PropertyChanges { target: btnCloseWallet; visible: true}
+ PropertyChanges { target: btnLockWallet; visible: true}
PropertyChanges { target: btnLanguageToggle; visible: true}
}, State {
// show only theme switcher and window controls
name: "essentials";
PropertyChanges { target: btnCloseWallet; visible: false}
+ PropertyChanges { target: btnLockWallet; visible: false}
PropertyChanges { target: btnLanguageToggle; visible: false}
}
]