This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix init error in formatter config misc tab
Enabling a string preference sets its text, which fires all event listeners, which in this case wanted to update the preview, which wasn't available yet because we were still initializing: NPE. Instead, only disable the preference (this is apparently unproblematic) when necessary, instead of enabling it when it was already enabled.
- Loading branch information