Add autocomplete for mentions

This commit is contained in:
Veronica Berglyd Olsen
2024-10-24 23:57:10 +02:00
parent 9214da3756
commit 88aa3f38c2
2 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -2176,7 +2176,7 @@ class MetaCompleter(QMenu):
suffix = ""
options = list(filter(
lambda x: lookup in x.lower(), SHARED.project.index.getClassTags(
nwKeyWords.KEY_CLASS.get(kw.strip(), nwItemClass.NO_CLASS)
nwKeyWords.KEY_CLASS.get(kw.strip())
)
))[:15]