mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -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]:
|
if txt[0]:
|
||||||
self.currentCard.name = txt[0]
|
self.currentCard.name = txt[0]
|
||||||
self.needRebuild = True
|
self.needRebuild = True
|
||||||
|
self.deck.updateCardTags(self.deck.s.column0(
|
||||||
|
"select id from cards where cardModelId = :id",
|
||||||
|
id=self.currentCard.id))
|
||||||
self.updateCards()
|
self.updateCards()
|
||||||
|
|
||||||
def updateCards(self, row = None):
|
def updateCards(self, row = None):
|
||||||
|
|
Loading…
Reference in a new issue