gui
gui copied to clipboard
Switch to the selected wallet after loading
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.
Maybe amend a PR title/commit message to mention "switch to the selected wallet after loading"?
Tested ACK on ubuntu 20.04.
Loading a wallet now sets it on the "Wallet:" combobox at the top right hand corner.
So far I couldn't find if there's an alternative to avoid specifying the ConnectionType on the params. I see the different types will depend on whether the sender and receiver belong to the same thread or not.
Concept ACK. It'd be nice if Console switches too; wouldn't be the first time I import descriptors into the wrong wallet :-)