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:
Charles Haley 2024-10-10 11:35:26 +01:00
parent 6a8042f1ed
commit c9f62e161a

View File

@ -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: