HomePhabricator

[Backport]gui: hide HD & encryption icons when no wallet loaded

Description

[Backport]gui: hide HD & encryption icons when no wallet loaded

Summary:
The HD and encrypt status bar icons were not hidden after closing all wallets in bitcoin-qt.

This is a Backport of Bitcoin Core PR17935 and PR18007
The second PR is a fix for a bug introduced by the first.

Test Plan:
Reproduce the issue before applying the commits: close all wallets in bitcoin-qt and check that status icons remain visible.
Build, install, create 2 encrypted wallets, check that the icons now disappear when all wallets are closed, but remains visible after closing a wallet if a second wallet is still open.

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D7540

Details

Provenance
Harris <brakmic@gmail.com>Authored on Jan 15 2020, 22:13
PiRKCommitted on Sep 23 2020, 15:40
PiRKPushed on Sep 23 2020, 15:40
Reviewer
Restricted Owners Package
Differential Revision
D7540: [Backport]gui: hide HD & encryption icons when no wallet loaded
Parents
rABC7626847ab713: [CI] Update the clang-tidy build
Branches
Unknown
Tags
Unknown