fix: Saving mistral and google keys to settings

This commit is contained in:
Petr Mironychev 2025-02-25 19:21:44 +01:00
parent 7ba615a72d
commit 8dba9b4baa

View File

@ -135,6 +135,12 @@ void ProviderSettings::setupConnections()
});
connect(&claudeApiKey, &ButtonAspect::changed, this, [this]() { claudeApiKey.writeSettings(); });
connect(&openAiApiKey, &ButtonAspect::changed, this, [this]() { openAiApiKey.writeSettings(); });
connect(&mistralAiApiKey, &ButtonAspect::changed, this, [this]() {
mistralAiApiKey.writeSettings();
});
connect(&googleAiApiKey, &ButtonAspect::changed, this, [this]() {
googleAiApiKey.writeSettings();
});
}
void ProviderSettings::resetSettingsToDefaults()