Selecting a remembered search should perform it

This commit is contained in:
Kovid Goyal 2020-01-21 21:25:55 +05:30
parent 5bd3a88bc3
commit 63befea5e7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -237,6 +237,7 @@ class SearchInput(QWidget): # {{{
idx = self.query_type.findData(s['mode']) idx = self.query_type.findData(s['mode'])
if idx > -1: if idx > -1:
self.query_type.setCurrentIndex(idx) self.query_type.setCurrentIndex(idx)
self.find_next()
def search_query(self, backwards=False): def search_query(self, backwards=False):
text = self.search_box.currentText().strip() text = self.search_box.currentText().strip()