mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-13 22:24:05 +01:00
refactor: Rename getWallets to getOpenWallets in WalletController
This commit is contained in:
@@ -639,7 +639,7 @@ void BitcoinGUI::setWalletController(WalletController* wallet_controller)
|
||||
connect(wallet_controller, &WalletController::walletAdded, this, &BitcoinGUI::addWallet);
|
||||
connect(wallet_controller, &WalletController::walletRemoved, this, &BitcoinGUI::removeWallet);
|
||||
|
||||
for (WalletModel* wallet_model : m_wallet_controller->getWallets()) {
|
||||
for (WalletModel* wallet_model : m_wallet_controller->getOpenWallets()) {
|
||||
addWallet(wallet_model);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user