mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Remove unicode isolation from card type names
This commit is contained in:
parent
4adf6c62e0
commit
f06fd23319
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ class CardLayout(QDialog):
|
|||
def _newCardName(self):
|
||||
n = len(self.templates) + 1
|
||||
while 1:
|
||||
name = tr(TR.CARD_TEMPLATES_CARD, val=n)
|
||||
name = without_unicode_isolation(tr(TR.CARD_TEMPLATES_CARD, val=n))
|
||||
if name not in [t["name"] for t in self.templates]:
|
||||
break
|
||||
n += 1
|
||||
|
|
Loading…
Reference in a new issue