diff options
author | ロハン ダル <rohun-dhar@MN14042102.local> | 2017-02-21 11:31:13 -0800 |
---|---|---|
committer | ロハン ダル <rohun-dhar@MN14042102.local> | 2017-02-21 11:31:13 -0800 |
commit | d60d54ddb394bce457c87fee5474421db65811ab (patch) | |
tree | 955d66deef5fc5483032a5edbb6d5eb2ebec35fe /src/qt/bitcoingui.cpp | |
parent | 64aa36e20368fa16d4ff757d56dc2690ed0f48ba (diff) | |
parent | 61a640ea9741e5e76b945699a8332b0a9923339b (diff) |
merge with bitcoin core
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r-- | src/qt/bitcoingui.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 1c1acb6b10..be79a67990 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -518,7 +518,10 @@ void BitcoinGUI::setClientModel(ClientModel *_clientModel) // Propagate cleared model to child objects rpcConsole->setClientModel(nullptr); #ifdef ENABLE_WALLET - walletFrame->setClientModel(nullptr); + if (walletFrame) + { + walletFrame->setClientModel(nullptr); + } #endif // ENABLE_WALLET unitDisplayControl->setOptionsModel(nullptr); } |