Don't remove tags for the tag keyword (#2386)

This commit is contained in:
Veronica Berglyd Olsen
2025-06-06 19:16:59 +02:00
parent bf1067a346
commit 53355dbcc6
4 changed files with 17 additions and 12 deletions
+1 -3
View File
@@ -2116,9 +2116,7 @@ class CommandCompleter(QMenu):
length = len(lookup)
suffix = ""
options = sorted(filter(
lambda x: lookup in x.lower(), SHARED.project.index.getClassTags(
nwKeyWords.KEY_CLASS.get(kw.strip())
)
lambda x: lookup in x.lower(), SHARED.project.index.getKeyWordTags(kw.strip())
))[:15]
if not options: