Skip to content

Commit 3c2f871

Browse files
committed
should always trigger ui upadte, no need to check last is empty.
1 parent 3a7c69b commit 3c2f871

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/skk.cpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -754,10 +754,7 @@ 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-
}
757+
ic_->updateUserInterface(UserInterfaceComponent::InputPanel);
761758
return;
762759
}
763760

0 commit comments

Comments
 (0)