Skip to content

Commit

Permalink
Deactivate only the same text input method context.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnCZek committed Mar 16, 2024
1 parent ff5df43 commit e9a4d22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/TextInputMethodEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ void DefaultTextInputMethodEditor::ActivateContext(SharedPtr<TextInputMethodCont

void DefaultTextInputMethodEditor::DeactivateContext(TextInputMethodContext* _context)
{
RMLUI_ASSERT(context.lock().get() == _context);
context.reset();
if (context.lock().get() == _context);
context.reset();
}

bool DefaultTextInputMethodEditor::IsComposing() const
Expand Down

0 comments on commit e9a4d22

Please sign in to comment.