Always set FindWrapsAroundDocument in WebKitSearch
We accidentally set it to never wrap with the wrap-search option removal, but we want to *always* wrap.
This commit is contained in:
parent
54c00deb5b
commit
40455b2692
@ -87,7 +87,7 @@ class WebKitSearch(browsertab.AbstractSearch):
|
||||
|
||||
def search(self, text, *, ignore_case=False, reverse=False,
|
||||
result_cb=None):
|
||||
flags = QWebPage.FindFlags(0)
|
||||
flags = QWebPage.FindWrapsAroundDocument
|
||||
if ignore_case == 'smart':
|
||||
if not text.islower():
|
||||
flags |= QWebPage.FindCaseSensitively
|
||||
|
Loading…
Reference in New Issue
Block a user