Currently, the File menu offers no option to close all loaded wallets at once.
In cases where users have many (+5) wallets loaded, the usual...
Open File Menu -> Select Close Wallet -> Answer MsgBox Question with YES
...can quickly become very unpleasant.
Therefore, I'd recommend to implement a new menu option, Close All Wallets, that can:
- Close all loaded wallets,
- but still offers the do-you-want-to-close-this-wallet option, in cases where only certain wallets should be closed,
- and is disabled, when there are no wallets loaded.
UI



Demo Code
I have implemented a variant that's showcasing a possible solution, but because I:
- don't know about possible reasons to not include an option like this
- am not sure, if there are maybe similar solutions in the making (have checked commit history a bit, but not thorough enough to be sure)
- would like to know how to make a proper Qt test for it, before making a PR out of it.
Regards,