Qt: pass clientmodel changes from walletframe to walletviews

This commit is contained in:
Jonas Schnelli committed 2020-02-07 18:40:38 +01:00
1 parent 23fab1a3df
commit 2af3e16ca9
1 file changed
+4
+4
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)