mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 23:07:59 +01:00
qt: Reset toolbar after all wallets are closed
This commit is contained in:
parent
d96fdc2a39
commit
1e9bfd4926
1 changed files with 1 additions and 0 deletions
|
@ -662,6 +662,7 @@ void BitcoinGUI::removeWallet(WalletModel* walletModel)
|
||||||
m_wallet_selector->removeItem(index);
|
m_wallet_selector->removeItem(index);
|
||||||
if (m_wallet_selector->count() == 0) {
|
if (m_wallet_selector->count() == 0) {
|
||||||
setWalletActionsEnabled(false);
|
setWalletActionsEnabled(false);
|
||||||
|
overviewAction->setChecked(true);
|
||||||
} else if (m_wallet_selector->count() == 1) {
|
} else if (m_wallet_selector->count() == 1) {
|
||||||
m_wallet_selector_label_action->setVisible(false);
|
m_wallet_selector_label_action->setVisible(false);
|
||||||
m_wallet_selector_action->setVisible(false);
|
m_wallet_selector_action->setVisible(false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue