Commit 56e1b073 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Sync runner config groups on save

parent 6c4f3940
...@@ -93,6 +93,7 @@ void CharacterRunnerConfig::save() ...@@ -93,6 +93,7 @@ void CharacterRunnerConfig::save()
} }
grp.writeEntry(CONFIG_ALIASES, aliasList); grp.writeEntry(CONFIG_ALIASES, aliasList);
grp.writeEntry(CONFIG_CODES, codeList); grp.writeEntry(CONFIG_CODES, codeList);
grp.sync();
} }
void CharacterRunnerConfig::defaults() void CharacterRunnerConfig::defaults()
......
...@@ -42,6 +42,7 @@ void DictionaryRunnerConfig::save() ...@@ -42,6 +42,7 @@ void DictionaryRunnerConfig::save()
KConfigGroup grp = cfg->group("Runners"); KConfigGroup grp = cfg->group("Runners");
grp = KConfigGroup(&grp, "Dictionary"); grp = KConfigGroup(&grp, "Dictionary");
grp.writeEntry(CONFIG_TRIGGERWORD, m_triggerWord->text()); grp.writeEntry(CONFIG_TRIGGERWORD, m_triggerWord->text());
grp.sync();
emit changed(false); emit changed(false);
} }
......
Markdown is supported
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