Skip to content

Commit

Permalink
Revert "fix: composition not aborted when WeaselTSF::OnSetFocus(ITfDo…
Browse files Browse the repository at this point in the history
…cumentMg…"

This reverts commit ec1b70d.
  • Loading branch information
fxliang committed Apr 15, 2024
1 parent 0507bf7 commit bddb18b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion WeaselTSF/ThreadMgrEventSink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ STDAPI WeaselTSF::OnSetFocus(ITfDocumentMgr* pDocMgrFocus,
if ((nullptr != pTfContext) &&
SUCCEEDED(pTfContext->GetDocumentMgr(&pCandidateListDocumentMgr))) {
if (pCandidateListDocumentMgr != pDocMgrFocus) {
_AbortComposition(true);
_HideUI();
} else {
_ShowUI();
Expand Down

0 comments on commit bddb18b

Please sign in to comment.