fix: Add write settings after changing

This commit is contained in:
Petr Mironychev
2025-11-13 01:20:50 +01:00
parent 1070de6e6e
commit 75cbc46808
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -349,6 +349,7 @@ void ChatAssistantSettings::resetSettingsToDefaults()
resetAspect(codeFontSize);
resetAspect(textFormat);
resetAspect(chatRenderer);
writeSettings();
}
}
+1
View File
@@ -389,6 +389,7 @@ void CodeCompletionSettings::resetSettingsToDefaults()
resetAspect(useOpenFilesInQuickRefactor);
resetAspect(quickRefactorSystemPrompt);
resetAspect(modelOutputHandler);
writeSettings();
}
}
+1
View File
@@ -185,6 +185,7 @@ void ProviderSettings::resetSettingsToDefaults()
resetAspect(mistralAiApiKey);
resetAspect(googleAiApiKey);
resetAspect(ollamaBasicAuthApiKey);
writeSettings();
}
}