mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -197,7 +197,7 @@ class SearchBox2(QComboBox): # {{{
|
||||
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…
x
Reference in New Issue
Block a user