mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-19 14:17:40 +00:00
km_kbp_state_options_update should set the persisted cache copy as well.
This commit is contained in:
parent
da815eb92e
commit
2f2254ddca
2 changed files with 2 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ namespace km {
|
|||
switch(scope) {
|
||||
case KM_KBP_OPT_KEYBOARD:
|
||||
_kmx.GetOptions()->Set(key, value);
|
||||
persisted_store()[key] = value;
|
||||
break;
|
||||
case KM_KBP_OPT_ENVIRONMENT:
|
||||
_kmx.GetEnvironment()->Load(key, value);
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@ namespace km {
|
|||
if (i == _options.end()) return option();
|
||||
|
||||
i->second = value;
|
||||
persisted_store()[key] = value;
|
||||
return option(scope, key, i->second);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue