Commit b07bafec authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix load settings

parent 96a9aa64
Pipeline #255168 passed with stage
in 11 minutes and 24 seconds
......@@ -65,7 +65,7 @@ void RichTextComposerNg::setAutocorrection(PimCommon::AutoCorrection *autocorrec
void RichTextComposerNg::setAutocorrectionLanguage(const QString &lang)
{
if (d->autoCorrection) {
PimCommon::AutoCorrectionSettings settings;
PimCommon::AutoCorrectionSettings settings = d->autoCorrection->autoCorrectionSettings();
settings.setLanguage(lang);
d->autoCorrection->setAutoCorrectionSettings(settings);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment