mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
new card model adding format
This commit is contained in:
parent
080e97a82a
commit
2075bb0747
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class ModelProperties(QDialog):
|
|||
else:
|
||||
aformat = ""
|
||||
cm = CardModel(name, qformat, aformat)
|
||||
self.m.addCardModel(cm)
|
||||
self.deck.addCardModel(m, cm)
|
||||
self.updateCards()
|
||||
self.dialog.cardList.setCurrentRow(len(self.m.cardModels)-1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue