refactor: Rename getWallets to getOpenWallets in WalletController

This commit is contained in:
João Barbosa
2019-05-27 22:14:29 +01:00
parent 224eb9534a
commit fa90fe6440
3 changed files with 4 additions and 3 deletions

View File

@@ -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);
}
}