diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-02-22 15:46:32 +0000 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-02-23 09:29:59 +0000 |
commit | a720a983015c9ef8cc814c16a5b9ef6379695817 (patch) | |
tree | 2c6309b8d0efbee112c94afb9fc602e510ed7d92 /src/qt/bitcoingui.cpp | |
parent | a094b543324267e6d956bb0df2ede990b90118cb (diff) |
gui: Fix async open wallet call order
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r-- | src/qt/bitcoingui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index bc88dd5e0a..abf9136eee 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -396,6 +396,8 @@ void BitcoinGUI::createActions() connect(activity, &OpenWalletActivity::opened, this, &BitcoinGUI::setCurrentWallet); connect(activity, &OpenWalletActivity::finished, activity, &QObject::deleteLater); connect(activity, &OpenWalletActivity::finished, dialog, &QObject::deleteLater); + bool invoked = QMetaObject::invokeMethod(activity, "open"); + assert(invoked); }); } }); |