Fix ignore_case for searching.
This commit is contained in:
parent
c826db7e03
commit
66e670a96b
@ -75,8 +75,7 @@ class SearchRunner(QObject):
|
|||||||
if ignore_case == 'smart':
|
if ignore_case == 'smart':
|
||||||
if not text.islower():
|
if not text.islower():
|
||||||
self._flags |= QWebPage.FindCaseSensitively
|
self._flags |= QWebPage.FindCaseSensitively
|
||||||
elif ignore_case:
|
elif not ignore_case:
|
||||||
# True, but not 'smart'
|
|
||||||
self._flags |= QWebPage.FindCaseSensitively
|
self._flags |= QWebPage.FindCaseSensitively
|
||||||
if config.get('general', 'wrap-search'):
|
if config.get('general', 'wrap-search'):
|
||||||
self._flags |= QWebPage.FindWrapsAroundDocument
|
self._flags |= QWebPage.FindWrapsAroundDocument
|
||||||
|
Loading…
Reference in New Issue
Block a user