mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 21:27:14 -05:00
Don't register non-existent tags
This commit is contained in:
parent
2539896b22
commit
2d40baa95f
1 changed files with 2 additions and 1 deletions
|
|
@ -89,6 +89,7 @@ class TagManager:
|
||||||
if not newTags:
|
if not newTags:
|
||||||
return
|
return
|
||||||
# cache tag names
|
# cache tag names
|
||||||
|
if add:
|
||||||
self.register(newTags)
|
self.register(newTags)
|
||||||
# find notes missing the tags
|
# find notes missing the tags
|
||||||
if add:
|
if add:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue