On master (a78742830aa35bf57bcb0a4730977a1e5a1876bc) there is a bug:
- open an encrypted wallet; please note that the “Encrypt Wallet…” menu item is disabled that is expected:
- then open any other wallet; note that the “Encrypt Wallet…” menu item gets enabled that is wrong:
This PR fixes this bug.