From e93a6379d3a6b8836a717bc24a1f51d44053a831 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 13 Apr 2011 01:25:10 +0900 Subject: [PATCH] update card gids on fact gid change --- aqt/editor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aqt/editor.py b/aqt/editor.py index 477731d9f..b56e5c84f 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -469,6 +469,7 @@ class Editor(object): def saveTagsAndGroup(self): self.fact.gid = self.mw.deck.groupId(unicode(self.group.text())) + self.fact.updateCardGids() self.fact.tags = parseTags(unicode(self.tags.text())) self.fact.flush()