This is a backport of Core PR15957
- Group Reviewers
- rSTAGING6c61c44980a5: [backport#15957] Show loaded wallets as disabled in open menu instead of nothing
rABC6c61c44980a5: [backport#15957] Show loaded wallets as disabled in open menu instead of nothing
ninja check ./src/qt/bitcoin-qt -regtest
Focus the Open wallet menu item, see that [default wallet] appears, greyed out because it is loaded.
Empty out the std::vector<std::string> wallets right before the for-loop that iterates through it, compile and run the above again, see that focusing the Open wallet menu item shows No wallets available