Skip to content

Commit 6245f1c

Browse files
rockamokapsing
authored andcommitted
Fix missing SharedStatePolicyI18NAnnotation (fcitx#95)
1 parent 9db9bf2 commit 6245f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rimeengine.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ FCITX_CONFIGURATION(
5454
OptionWithAnnotation<PreeditMode, PreeditModeI18NAnnotation> preeditMode{
5555
this, "PreeditMode", _("Preedit Mode"),
5656
isAndroid() ? PreeditMode::No : PreeditMode::ComposingText};
57-
Option<SharedStatePolicy> sharedStatePolicy{
57+
OptionWithAnnotation<SharedStatePolicy, SharedStatePolicyI18NAnnotation> sharedStatePolicy{
5858
this, "InputState", _("Shared Input State"), SharedStatePolicy::All};
5959
// On Linux only cursor position is available so this pins candidate window
6060
// while typing. On macOS any position within embedded preedit is available

0 commit comments

Comments
 (0)