mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #2084133 [Holding Ctrl and clicking twice adds 2 spaces to the search in the search bar](https://bugs.launchpad.net/calibre/+bug/2084133)
This commit is contained in:
commit
781c73ff5f
@ -1847,7 +1847,7 @@ class TagsModel(QAbstractItemModel): # {{{
|
|||||||
if tag.state != TAG_SEARCH_STATES['clear']:
|
if tag.state != TAG_SEARCH_STATES['clear']:
|
||||||
if tag.state == TAG_SEARCH_STATES['mark_minus'] or \
|
if tag.state == TAG_SEARCH_STATES['mark_minus'] or \
|
||||||
tag.state == TAG_SEARCH_STATES['mark_minusminus']:
|
tag.state == TAG_SEARCH_STATES['mark_minusminus']:
|
||||||
prefix = ' not '
|
prefix = 'not '
|
||||||
else:
|
else:
|
||||||
prefix = ''
|
prefix = ''
|
||||||
if node.is_gst:
|
if node.is_gst:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user