inputmethod: Always check the context before using it

I see it being null here sometimes when changing input methods upon text-input::enabledChanged. Better safe than sorry.

Merge request reports

Loading