-
Notifications
You must be signed in to change notification settings - Fork 37.8k
gui: hide HD & encryption icons when no wallet loaded #17935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 486f510 |
ACK 486f510 |
ACK 486f510 |
486f510 gui: hide HD & encryption icons when no wallet loaded (Harris) Pull request description: This PR takes care of removing (hiding) the HD wallet and encryption icons when no wallet is loaded. Fixes #17927 ACKs for top commit: Sjors: ACK 486f510 theStack: ACK 486f510 fanquake: ACK 486f510 - tested that this fixes #17927. Thanks for following up so quick. emilengler: ACK 486f510 Tree-SHA512: 6e3e5305a9eefe1692614097c05393aa0dffd561c89cefb40d501e70a8102eafcadfbc1c86a35c0b256b0f94f41598545d7a043954d6b9669c169d31d95aaf24
@@ -659,6 +659,8 @@ void BitcoinGUI::removeWallet(WalletModel* walletModel) | |||
rpcConsole->removeWallet(walletModel); | |||
walletFrame->removeWallet(walletModel); | |||
updateWindowTitle(); | |||
labelWalletHDStatusIcon->hide(); | |||
labelWalletEncryptionIcon->hide(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems obviously broken... See PR #18007
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 [[bitcoin/bitcoin#17935 | PR17935]] and [[bitcoin/bitcoin#18007 | 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
This PR takes care of removing (hiding) the HD wallet and encryption icons when no wallet is loaded.
Fixes #17927