mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Bugfix: GUI: Hide the HD/encrypt icons earlier so they get re-shown if another wallet is open
This commit is contained in:
parent
486f51099f
commit
4c524f0aad
1 changed files with 4 additions and 2 deletions
|
|
@ -648,6 +648,10 @@ void BitcoinGUI::addWallet(WalletModel* walletModel)
|
|||
void BitcoinGUI::removeWallet(WalletModel* walletModel)
|
||||
{
|
||||
if (!walletFrame) return;
|
||||
|
||||
labelWalletHDStatusIcon->hide();
|
||||
labelWalletEncryptionIcon->hide();
|
||||
|
||||
int index = m_wallet_selector->findData(QVariant::fromValue(walletModel));
|
||||
m_wallet_selector->removeItem(index);
|
||||
if (m_wallet_selector->count() == 0) {
|
||||
|
|
@ -659,8 +663,6 @@ void BitcoinGUI::removeWallet(WalletModel* walletModel)
|
|||
rpcConsole->removeWallet(walletModel);
|
||||
walletFrame->removeWallet(walletModel);
|
||||
updateWindowTitle();
|
||||
labelWalletHDStatusIcon->hide();
|
||||
labelWalletEncryptionIcon->hide();
|
||||
}
|
||||
|
||||
void BitcoinGUI::setCurrentWallet(WalletModel* wallet_model)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue