diff options
author | 2025-02-13 13:10:07 +0900 | |
---|---|---|
committer | 2025-02-13 13:10:07 +0900 | |
commit | 89a4dc2ac2a751fdcae921997bb93a76f9b667f9 (patch) | |
tree | 91d9d34c87796da424104c46705e9f1aceb69f92 | |
parent | 88ffba4a3a4d10fa68e31f0a2d6137691a7735cb (diff) | |
download | iced-89a4dc2ac2a751fdcae921997bb93a76f9b667f9.tar.gz iced-89a4dc2ac2a751fdcae921997bb93a76f9b667f9.tar.bz2 iced-89a4dc2ac2a751fdcae921997bb93a76f9b667f9.zip |
Clear pre-edit window state when pre-edit content is `None`
-rw-r--r-- | winit/src/program/window_manager.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winit/src/program/window_manager.rs b/winit/src/program/window_manager.rs index 4156e7c8..27306439 100644 --- a/winit/src/program/window_manager.rs +++ b/winit/src/program/window_manager.rs @@ -234,6 +234,8 @@ where self.preedit = Some(overlay); } + } else { + self.preedit = None; } } } |