fix not returning IM name when it's not rime

This commit is contained in:
lilydjwg 2022-11-15 22:06:01 +08:00
parent eb62569b3b
commit dc95d0301b

View file

@ -23,6 +23,8 @@ class FcitxComm:
im = self.fcitx.CurrentInputMethod()
if im == 'rime':
return self._get_rime().GetCurrentSchema()
else:
return im
def _get_rime(self):
if self._rime is None: