Skip to content

Commit e6c2309

Browse files
committed
Fix
1 parent 430860c commit e6c2309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/netbeans/modules/python/options/PythonLspServerConfigsPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ void store() {
270270
errroLabel.setText("");
271271
try {
272272
String jsonSettings = lspEditorPane.getText();
273+
NbPreferences.root().putBoolean("autoUpdate", lspServerCheckBox.isSelected());
273274

274275
if (!settingsSchema.exists()) {
275276
Files.writeString(settingsSchema.toPath(),
@@ -285,7 +286,6 @@ void store() {
285286
return;
286287
}
287288

288-
NbPreferences.root().putBoolean("autoUpdate", lspServerCheckBox.isSelected());
289289
Files.writeString(PythonUtility.SETTINGS.toPath(),
290290
jsonSettings);
291291
Gson create = new GsonBuilder().setObjectToNumberStrategy(ToNumberPolicy.BIG_DECIMAL).create();

0 commit comments

Comments
 (0)