Qt: pass clientmodel changes from walletframe to walletviews

This commit is contained in:
Jonas Schnelli 2020-02-07 09:38:43 +01:00
parent 23fab1a3df
commit 2af3e16ca9

View File

@ -37,6 +37,10 @@ WalletFrame::~WalletFrame()
void WalletFrame::setClientModel(ClientModel *_clientModel)
{
this->clientModel = _clientModel;
for (auto i = mapWalletViews.constBegin(); i != mapWalletViews.constEnd(); ++i) {
i.value()->setClientModel(_clientModel);
}
}
bool WalletFrame::addWallet(WalletModel *walletModel)