From 823f7e0103d8d725612e4316ce28fe4665e97062 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 19 Mar 2009 11:27:09 +0900 Subject: [PATCH] optimze model tag update --- ankiqt/ui/modelproperties.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankiqt/ui/modelproperties.py b/ankiqt/ui/modelproperties.py index aeab8a052..4f37353a2 100644 --- a/ankiqt/ui/modelproperties.py +++ b/ankiqt/ui/modelproperties.py @@ -492,7 +492,7 @@ order by n""", id=card.id) self.deck.setModified() # if changed, reset deck if self.origModTime != self.deck.modified: - self.deck.updateCardTags() + self.deck.updateTagsForModel(self.m) ankiqt.mw.reset() if self.onFinish: self.onFinish()