mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
update tags when template renamed
This commit is contained in:
parent
d0169733d1
commit
2b34f1f653
1 changed files with 3 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue