sort clone: note type items
This commit is contained in:
parent
cb8100c641
commit
76988b6081
@ -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 New Issue
Block a user