From 86f95daf7df77e3f0ae73c1455afbb8a488aaef2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 23 Oct 2020 12:12:39 +0530 Subject: [PATCH] Remove another reference to search_by_selection --- src/pyj/read_book/view.pyj | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pyj/read_book/view.pyj b/src/pyj/read_book/view.pyj index a64615cfd3..46d943039b 100644 --- a/src/pyj/read_book/view.pyj +++ b/src/pyj/read_book/view.pyj @@ -499,10 +499,6 @@ class View: self.toggle_reference_mode() elif data.name is 'reload_book': ui_operations.reload_book() - elif data.name is 'search_for_selection': - if self.currently_showing.selection.text: - self.search_overlay.set_text(self.currently_showing.selection.text) - self.search_overlay.find_next() elif data.name is 'next_section': self.on_next_section({'forward': True}) elif data.name is 'previous_section':