Skip to content

Commit 2af3e16

Browse files
committed
Qt: pass clientmodel changes from walletframe to walletviews
1 parent 23fab1a commit 2af3e16

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/qt/walletframe.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ WalletFrame::~WalletFrame()
3737
void WalletFrame::setClientModel(ClientModel *_clientModel)
3838
{
3939
this->clientModel = _clientModel;
40+
41+
for (auto i = mapWalletViews.constBegin(); i != mapWalletViews.constEnd(); ++i) {
42+
i.value()->setClientModel(_clientModel);
43+
}
4044
}
4145

4246
bool WalletFrame::addWallet(WalletModel *walletModel)

0 commit comments

Comments
 (0)