diff --git a/src/inputmethod.cpp b/src/inputmethod.cpp index 73ae52d7a7..8efd4795b8 100644 --- a/src/inputmethod.cpp +++ b/src/inputmethod.cpp @@ -134,9 +134,7 @@ void InputMethod::setActive(bool active) } waylandServer()->inputMethod()->sendActivate(); - if (m_active) { - adoptInputMethodContext(); - } + adoptInputMethodContext(); } else { updateInputPanelState(); }