From c351d7df016561b6ac55c15992c5b0e5829f8a88 Mon Sep 17 00:00:00 2001 From: Shiki Okasaka Date: Sat, 4 May 2024 09:35:03 +0900 Subject: [PATCH] Clean up engine/engine.py --- engine/engine.py | 1 - 1 file changed, 1 deletion(-) diff --git a/engine/engine.py b/engine/engine.py index 8ccd184..39435d4 100644 --- a/engine/engine.py +++ b/engine/engine.py @@ -442,7 +442,6 @@ def do_set_surrounding_text(self, text: IBus.Text, cursor_pos: int, anchor_pos: # See https://gitlab.gnome.org/GNOME/mutter/-/issues/3440 if self._surrounding == SURROUNDING_SUPPORTED: self._surrounding = SURROUNDING_BROKEN - pass else: self._surrounding = SURROUNDING_SUPPORTED self._preedit_text = None