Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Add-ons
Commits
a38b4868
Commit
a38b4868
authored
Sep 18, 2020
by
Alexander Lohnau
💬
Browse files
Sync runner config groups on save
parent
6c4f3940
Changes
2
Hide whitespace changes
Inline
Side-by-side
runners/characters/charrunner_config.cpp
View file @
a38b4868
...
...
@@ -93,6 +93,7 @@ void CharacterRunnerConfig::save()
}
grp
.
writeEntry
(
CONFIG_ALIASES
,
aliasList
);
grp
.
writeEntry
(
CONFIG_CODES
,
codeList
);
grp
.
sync
();
}
void
CharacterRunnerConfig
::
defaults
()
...
...
runners/dictionary/dictionaryrunner_config.cpp
View file @
a38b4868
...
...
@@ -42,6 +42,7 @@ void DictionaryRunnerConfig::save()
KConfigGroup
grp
=
cfg
->
group
(
"Runners"
);
grp
=
KConfigGroup
(
&
grp
,
"Dictionary"
);
grp
.
writeEntry
(
CONFIG_TRIGGERWORD
,
m_triggerWord
->
text
());
grp
.
sync
();
emit
changed
(
false
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment