Remove another reference to search_by_selection

This commit is contained in:
Kovid Goyal 2020-10-23 12:12:39 +05:30
parent c43af7ff3a
commit 86f95daf7d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -499,10 +499,6 @@ class View:
self.toggle_reference_mode() self.toggle_reference_mode()
elif data.name is 'reload_book': elif data.name is 'reload_book':
ui_operations.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': elif data.name is 'next_section':
self.on_next_section({'forward': True}) self.on_next_section({'forward': True})
elif data.name is 'previous_section': elif data.name is 'previous_section':