Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13115663
D6177.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D6177.diff
View Options
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -495,6 +495,8 @@
&QObject::deleteLater);
connect(activity, &OpenWalletActivity::finished, dialog,
&QObject::deleteLater);
+ bool invoked = QMetaObject::invokeMethod(activity, "open");
+ assert(invoked);
});
}
if (m_open_wallet_menu->isEmpty()) {
diff --git a/src/qt/walletcontroller.cpp b/src/qt/walletcontroller.cpp
--- a/src/qt/walletcontroller.cpp
+++ b/src/qt/walletcontroller.cpp
@@ -64,7 +64,6 @@
QWidget *parent) {
OpenWalletActivity *activity = new OpenWalletActivity(this, name, params);
activity->moveToThread(&m_activity_thread);
- QMetaObject::invokeMethod(activity, "open", Qt::QueuedConnection);
return activity;
}
void WalletController::closeWallet(WalletModel *wallet_model, QWidget *parent) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 1, 11:41 (3 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187663
Default Alt Text
D6177.diff (1 KB)
Attached To
D6177: [backport#15462] gui: Fix async open wallet call order
Event Timeline
Log In to Comment