mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Escape ampersands in note type names too
This commit is contained in:
parent
994d167fdb
commit
7b392dd9d4
1 changed files with 1 additions and 1 deletions
|
@ -101,4 +101,4 @@ class ModelChooser(QHBoxLayout):
|
|||
self.mw.reset()
|
||||
|
||||
def updateModels(self) -> None:
|
||||
self.models.setText(self.deck.models.current()["name"])
|
||||
self.models.setText(self.deck.models.current()["name"].replace("&", "&&"))
|
||||
|
|
Loading…
Reference in a new issue