Qt: pass clientmodel changes from walletframe to walletviews
This commit is contained in:
1 parent
23fab1a3df
commit
2af3e16ca9
1 file changed
+4
@@ -37,6 +37,10 @@ WalletFrame::~WalletFrame()
|
|||||||
void WalletFrame::setClientModel(ClientModel *_clientModel)
|
void WalletFrame::setClientModel(ClientModel *_clientModel)
|
||||||
{
|
{
|
||||||
this->clientModel = _clientModel;
|
this->clientModel = _clientModel;
|
||||||
|
|
||||||
|
for (auto i = mapWalletViews.constBegin(); i != mapWalletViews.constEnd(); ++i) {
|
||||||
|
i.value()->setClientModel(_clientModel);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WalletFrame::addWallet(WalletModel *walletModel)
|
bool WalletFrame::addWallet(WalletModel *walletModel)
|
||||||
|
|||||||
Reference in new issue
Block a user