Skip to content

Commit 39710f5

Browse files
committed
Merge #665: Switch to the selected wallet after loading
b8b59ff gui: update the screen after loading wallet (w0xlt) Pull request description: Currently, the user loads a wallet and the screen does not switch to the selected wallet after loading (File -> Open Wallet -> wallet name). This PR changes that by making the `OpenWalletActivity::opened` signal connection a `Qt::QueuedConnection` type. ACKs for top commit: jarolrod: ACK b8b59ff hebasto: ACK b8b59ff, tested on Ubuntu 22.04. Tree-SHA512: 43cd755638b643f481014a7933a0af25df2d109e859cb5f878bc04e562950d550716fa38465140060e28526b2441688580cbcbe4ec6819566b4f95162ca5e527
2 parents 2242de1 + b8b59ff commit 39710f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/bitcoingui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ void BitcoinGUI::createActions()
410410

411411
connect(action, &QAction::triggered, [this, path] {
412412
auto activity = new OpenWalletActivity(m_wallet_controller, this);
413-
connect(activity, &OpenWalletActivity::opened, this, &BitcoinGUI::setCurrentWallet);
413+
connect(activity, &OpenWalletActivity::opened, this, &BitcoinGUI::setCurrentWallet, Qt::QueuedConnection);
414414
activity->open(path);
415415
});
416416
}

0 commit comments

Comments
 (0)