On master 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.
This is a backport of core-gui#43