Skip to content

Commit

Permalink
[gui] fix the visibility of some toolbar buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
hardwarewise committed May 26, 2021
1 parent 56008d6 commit d0f39b3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/qt/bitcoingui.cpp
Expand Up @@ -876,6 +876,12 @@ void BitcoinGUI::removeAllWallets()
void BitcoinGUI::setWalletActionsEnabled(bool enabled)
{
overviewAction->setEnabled(enabled);
homeAction->setEnabled(enabled);
QSettings settings;
if (settings.value("fShowInfinitynodeTab").toBool())
{
infinitynodeAction->setEnabled(enabled);
}
sendCoinsAction->setEnabled(enabled);
sendCoinsMenuAction->setEnabled(enabled);
receiveCoinsAction->setEnabled(enabled);
Expand Down

0 comments on commit d0f39b3

Please sign in to comment.