Some code added in #2220 no longer applies as the list of wallets is actually a combo in the toolbar.
Considering #16883, it's very unlikely the current GUI will change and follow the idea of #2220.
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
I think this is another good candidate for moving to https://github.com/bitcoin-core/gui. It's Qt-only refactoring, and it hasn't received any review since being opened.