From b8b96ee71986d912496d62240d90e6a33b9b4a29 Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Sun, 28 Nov 2021 13:39:45 +0100 Subject: [PATCH] PasswordDialog: display wizard title bar when returning to wizard after canceling password dialog --- components/PasswordDialog.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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;