fix pin toggle causing saved tags to get lost

This commit is contained in:
Damien Elmes 2021-06-24 20:16:21 +10:00
parent e387c1f6f1
commit 0e3ada4fcf

View File

@ -138,6 +138,7 @@ class AddCards(QDialog):
old_field_name = old.model()["flds"][n]["name"]
if old_field_name not in new_fields:
new.fields[n] = old.fields[n]
new.tags = old.tags
# and update editor state
self.editor.note = new