mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
sort clone: note type items
This commit is contained in:
parent
cb8100c641
commit
76988b6081
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ class AddModel(QDialog):
|
|||
self.dialog.models.addItem(item)
|
||||
self.models.append((True, func))
|
||||
# add copies
|
||||
for m in self.col.models.all():
|
||||
for m in sorted(self.col.models.all(), key=itemgetter("name")):
|
||||
item = QListWidgetItem(_("Clone: %s") % m['name'])
|
||||
self.dialog.models.addItem(item)
|
||||
self.models.append((False, m))
|
||||
|
|
Loading…
Reference in a new issue