From 0e3ada4fcf644a495668b1dc8280c501885b5995 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 24 Jun 2021 20:16:21 +1000 Subject: [PATCH] fix pin toggle causing saved tags to get lost --- qt/aqt/addcards.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qt/aqt/addcards.py b/qt/aqt/addcards.py index 7a2f15154..56655bc9d 100644 --- a/qt/aqt/addcards.py +++ b/qt/aqt/addcards.py @@ -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