mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Cosmetic Enhancement 2084133: Holding Ctrl and clicking twice adds 2 spaces to the search in the search bar.
In fact, every "not" was preceded with an extra space, which had no effect on the parsing of the search string.
This commit is contained in:
parent
6a8042f1ed
commit
c9f62e161a
@ -1847,7 +1847,7 @@ class TagsModel(QAbstractItemModel): # {{{
|
||||
if tag.state != TAG_SEARCH_STATES['clear']:
|
||||
if tag.state == TAG_SEARCH_STATES['mark_minus'] or \
|
||||
tag.state == TAG_SEARCH_STATES['mark_minusminus']:
|
||||
prefix = ' not '
|
||||
prefix = 'not '
|
||||
else:
|
||||
prefix = ''
|
||||
if node.is_gst:
|
||||
|
Loading…
x
Reference in New Issue
Block a user