Remove unicode isolation from card type names

This commit is contained in:
Henrik Giesel 2020-12-16 03:09:33 +01:00
parent 4adf6c62e0
commit f06fd23319

View File

@ -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