From 96e88468b7125157edc2a6f2a9e5d1541dd46026 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 19 Oct 2008 22:10:34 +0900 Subject: [PATCH] mark fact modified when tags updated --- ankiqt/ui/facteditor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ankiqt/ui/facteditor.py b/ankiqt/ui/facteditor.py index 0b4513300..031f46500 100644 --- a/ankiqt/ui/facteditor.py +++ b/ankiqt/ui/facteditor.py @@ -340,6 +340,8 @@ class FactEditor(object): self.fact.tags = unicode(text) if self.onChange: self.onChange(None) + self.fact.setModified(textChanged=True) + self.deck.setModified() def focusField(self, fieldName): self.fields[fieldName][1].setFocus()