From d5ad53fe54cb3d65fff4ab23e2225cb4d4c67b80 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 9 May 2009 06:16:29 +0900 Subject: [PATCH] don't include space in card template name --- ankiqt/ui/modelproperties.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankiqt/ui/modelproperties.py b/ankiqt/ui/modelproperties.py index 86be461ca..d03b9c819 100644 --- a/ankiqt/ui/modelproperties.py +++ b/ankiqt/ui/modelproperties.py @@ -332,7 +332,7 @@ order by n""", id=card.id) card = self.currentCard newname = unicode(self.dialog.cardName.text()) if not newname: - newname = _("Card %d") % (self.m.cardModels.index(card) + 1) + newname = _("Card-%d") % (self.m.cardModels.index(card) + 1) self.updateField(card, 'name', newname) s = unicode(self.dialog.cardQuestion.toPlainText()) s = s.replace("
\n", "
")