mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 12:33:39 +02:00
Fix unable to change case for search queries
Fix unable to change the case of a previously used search because of the search history.
This commit is contained in:
parent
2f37913801
commit
f964f512cf
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ def _do_search(self, store_in_history=True):
|
|||
self.search.emit(text)
|
||||
|
||||
if store_in_history:
|
||||
idx = self.findText(text, Qt.MatchFixedString)
|
||||
idx = self.findText(text, Qt.MatchFixedString|Qt.MatchCaseSensitive)
|
||||
self.block_signals(True)
|
||||
if idx < 0:
|
||||
self.insertItem(0, text)
|
||||
|
|
|
|||
Loading…
Reference in a new issue