aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2021-11-28 13:39:45 +0100
committerGitHub <noreply@github.com>2021-11-28 13:39:45 +0100
commitb8b96ee71986d912496d62240d90e6a33b9b4a29 (patch)
treeac87aea88e5edc1bbab628b08a4a7c4de5a974ea /components
parentc72729fa5db0d018b0929866fb847ac99e05086f (diff)
downloadmonzero-gui-b8b96ee71986d912496d62240d90e6a33b9b4a29.tar.gz
monzero-gui-b8b96ee71986d912496d62240d90e6a33b9b4a29.tar.xz
monzero-gui-b8b96ee71986d912496d62240d90e6a33b9b4a29.zip
PasswordDialog: display wizard title bar when returning to wizard after canceling password dialog
Diffstat (limited to 'components')
-rw-r--r--components/PasswordDialog.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml
index 977ec3a4..b2c815f3 100644
--- a/components/PasswordDialog.qml
+++ b/components/PasswordDialog.qml
@@ -108,7 +108,11 @@ Item {
leftPanel.enabled = true
middlePanel.enabled = true
wizard.enabled = true
- titleBar.state = "default"
+ if (rootItem.state == "wizard") {
+ titleBar.state = "essentials"
+ } else {
+ titleBar.state = "default"
+ }
root.visible = false;
appWindow.hideBalanceForced = false;