Fix ignore_case handling

This commit is contained in:
Florian Bruhin 2017-06-19 12:50:33 +02:00
parent 340a62869d
commit 5e4675b34a

View File

@ -198,8 +198,8 @@ class AbstractSearch(QObject):
""" """
mapping = { mapping = {
'smart': not self.text.islower(), 'smart': not self.text.islower(),
'never': False, 'never': True,
'always': True, 'always': False,
} }
return mapping[ignore_case] return mapping[ignore_case]