Skip to content

Commit 3a7c69b

Browse files
authored
Update input panel on preedit clearing (#18)
1 parent 53cf371 commit 3a7c69b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/skk.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,10 @@ void SkkState::updateUI() {
754754
inputPanel.reset();
755755
ic_->updatePreedit();
756756
engine_->instance()->showInputMethodInformation(ic_);
757+
if (!lastIsEmpty) {
758+
// Preedit was cleared.
759+
ic_->updateUserInterface(UserInterfaceComponent::InputPanel);
760+
}
757761
return;
758762
}
759763

0 commit comments

Comments
 (0)