diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2020-02-07 09:38:43 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2020-02-07 18:40:38 +0100 |
commit | 2af3e16ca917acd85c2d4f709f6d486519d6af0d (patch) | |
tree | e152d50f8e5ba7b1c96592b60eaed1ddda520510 | |
parent | 23fab1a3dfe6f308880197dbe2bd7ce70866f13c (diff) |
Qt: pass clientmodel changes from walletframe to walletviews
-rw-r--r-- | src/qt/walletframe.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp index 656fffd067..dac3326cc4 100644 --- a/src/qt/walletframe.cpp +++ b/src/qt/walletframe.cpp @@ -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) |