mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -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()
|
self.mw.reset()
|
||||||
|
|
||||||
def updateModels(self) -> None:
|
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