Make the history completion for the search and replace edit box case-sensitive. Fixes #1752447 [SEARCH field in Find & Replace does not allow all caps](https://bugs.launchpad.net/calibre/+bug/1752447)

This commit is contained in:
Kovid Goyal 2018-03-03 12:53:58 +05:30
parent 5e4f43588e
commit 24fbc4767e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -206,6 +206,7 @@ class RegexEdit(QWidget, Ui_Edit):
def __init__(self, parent=None):
QWidget.__init__(self, parent)
self.setupUi(self)
self.edit.completer().setCaseSensitivity(Qt.CaseSensitive)
self.book_id = None
self.db = None