This PR addresses an issue where, with no wallet selected, ticking on “Settings -> Mask values” checkbox twice enables the transaction tab when the checkbox is unticked.
Note for maintaners: this PR should be backported to both 25.x and 26.x.
Originally this PR was disabling the “Mask Values” checkbox when no wallet was selected but since a reviewer pointed out that a user might want to open a wallet already on “privacy mode” I rolled that change out.