diff --git a/src/window.py b/src/window.py index 1822965..fa3524b 100644 --- a/src/window.py +++ b/src/window.py @@ -332,10 +332,6 @@ def on_key_press_event(self, wid, event): self.replace_to_text = self.replace_to.get_text() self.textview.grab_focus() return True - elif self.ruby_entry.is_focus(): - if event.keyval == Gdk.KEY_Escape: - self.textview.grab_focus() - return True return False def on_mark_set(self, buffer, where, mark):