aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-07 08:15:46 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-07 08:15:46 +0300
commit1e9bfd4926a3cbb9db877c773a60b0bbbbe8bde0 (patch)
tree619ee57fdd98f1eb0944d91f08aae9886e75bd2c /src/qt
parentd96fdc2a396f4ca44d64d830b352469674f2845f (diff)
qt: Reset toolbar after all wallets are closed
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoingui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index cf2de1a417..4e6be4c17c 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -662,6 +662,7 @@ void BitcoinGUI::removeWallet(WalletModel* walletModel)
m_wallet_selector->removeItem(index);
if (m_wallet_selector->count() == 0) {
setWalletActionsEnabled(false);
+ overviewAction->setChecked(true);
} else if (m_wallet_selector->count() == 1) {
m_wallet_selector_label_action->setVisible(false);
m_wallet_selector_action->setVisible(false);