Fix inverted ignore-case setting.

This commit is contained in:
Florian Bruhin 2014-06-26 10:04:08 +02:00
parent 92ff957543
commit eeef9aa930

View File

@ -69,7 +69,7 @@ class SearchManager(QObject):
self.do_search.emit('', 0)
self._text = text
self._flags = 0
if config.get('general', 'ignore-case'):
if not config.get('general', 'ignore-case'):
self._flags |= QWebPage.FindCaseSensitively
if config.get('general', 'wrap-search'):
self._flags |= QWebPage.FindWrapsAroundDocument