mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
make sure to update tags when not adding
This commit is contained in:
parent
617c3042c3
commit
1eaa6b9c1a
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ class Editor(object):
|
|||
else:
|
||||
self.deck.setText(self.mw.col.decks.nameOrNone(
|
||||
self.note.model()['did']) or _("Default"))
|
||||
if not self.tags.text():
|
||||
if not self.tags.text() or not self.addMode:
|
||||
self.tags.setText(self.note.stringTags().strip())
|
||||
|
||||
def saveTags(self):
|
||||
|
|
Loading…
Reference in a new issue