mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Qt: pass clientmodel changes from walletframe to walletviews
This commit is contained in:
parent
23fab1a3df
commit
2af3e16ca9
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue