Fix :search-prev with QtWebEngine

Fixes #1797
This commit is contained in:
Florian Bruhin 2016-08-08 13:51:42 +02:00
parent 92049155af
commit 27330bd4d1

View File

@ -95,7 +95,7 @@ class WebEngineSearch(browsertab.AbstractSearch):
flags &= ~QWebEnginePage.FindBackward
else:
flags |= QWebEnginePage.FindBackward
self._find(self.text, self._flags, result_cb)
self._find(self.text, flags, result_cb)
def next_result(self, *, result_cb=None):
self._find(self.text, self._flags, result_cb)