Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
src/window.py
  • Loading branch information
ShikiOkasaka committed Oct 22, 2022
1 parent 543ac81 commit 873ad31
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 873ad31

Please sign in to comment.