Skip to content

Commit 1e9bfd4

Browse files
committed
qt: Reset toolbar after all wallets are closed
1 parent d96fdc2 commit 1e9bfd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/qt/bitcoingui.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@ void BitcoinGUI::removeWallet(WalletModel* walletModel)
662662
m_wallet_selector->removeItem(index);
663663
if (m_wallet_selector->count() == 0) {
664664
setWalletActionsEnabled(false);
665+
overviewAction->setChecked(true);
665666
} else if (m_wallet_selector->count() == 1) {
666667
m_wallet_selector_label_action->setVisible(false);
667668
m_wallet_selector_action->setVisible(false);

0 commit comments

Comments
 (0)