update tags when template renamed

This commit is contained in:
Damien Elmes 2011-02-04 19:17:41 +09:00
parent d0169733d1
commit 2b34f1f653

View file

@ -71,6 +71,9 @@ class ModelProperties(QDialog):
if txt[0]:
self.currentCard.name = txt[0]
self.needRebuild = True
self.deck.updateCardTags(self.deck.s.column0(
"select id from cards where cardModelId = :id",
id=self.currentCard.id))
self.updateCards()
def updateCards(self, row = None):