mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
"at least one card"
This commit is contained in:
parent
20333fc8e2
commit
3e84c03c1e
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class CardLayout(QDialog):
|
|||
|
||||
def onRemoveTab(self, idx):
|
||||
if len(self.model['tmpls']) < 2:
|
||||
return showInfo(_("At least one template is required."))
|
||||
return showInfo(_("At least one card is required."))
|
||||
if not askUser(_("Remove all cards of this type?")):
|
||||
return
|
||||
if not self.mm.remTemplate(self.model, self.cards[idx].template()):
|
||||
|
|
Loading…
Reference in a new issue