mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
qt: Add WalletFrame::currentWalletSet signal
The connection of the WalletFrame::currentWalletSet signal to the BitcoinGUI::updateWalletStatus is a shorter and more descriptive way to call both the setHDStatus and setEncryptionStatus member functions of the BitcoinGUI class in comparison to using of the WalletView::updateEncryptionStatus slot.
This commit is contained in:
@@ -109,7 +109,8 @@ void WalletFrame::setCurrentWallet(WalletModel* wallet_model)
|
||||
walletView->updateGeometry();
|
||||
|
||||
walletStack->setCurrentWidget(walletView);
|
||||
walletView->updateEncryptionStatus();
|
||||
|
||||
Q_EMIT currentWalletSet();
|
||||
}
|
||||
|
||||
void WalletFrame::removeWallet(WalletModel* wallet_model)
|
||||
|
||||
Reference in New Issue
Block a user