Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
albilu committed Jan 9, 2024
1 parent 430860c commit e6c2309
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ void store() {
errroLabel.setText("");
try {
String jsonSettings = lspEditorPane.getText();
NbPreferences.root().putBoolean("autoUpdate", lspServerCheckBox.isSelected());

if (!settingsSchema.exists()) {
Files.writeString(settingsSchema.toPath(),
Expand All @@ -285,7 +286,6 @@ void store() {
return;
}

NbPreferences.root().putBoolean("autoUpdate", lspServerCheckBox.isSelected());
Files.writeString(PythonUtility.SETTINGS.toPath(),
jsonSettings);
Gson create = new GsonBuilder().setObjectToNumberStrategy(ToNumberPolicy.BIG_DECIMAL).create();
Expand Down

0 comments on commit e6c2309

Please sign in to comment.