Browse Source

Sort "other printers" list

CURA-9687
c.lamboo 2 years ago
parent
commit
2079bd5a6e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cura/Machines/Models/MachineListModel.py

+ 1 - 0
cura/Machines/Models/MachineListModel.py

@@ -86,6 +86,7 @@ class MachineListModel(ListModel):
         machines_manager = CuraApplication.getInstance().getMachineManager()
 
         other_machine_stacks = CuraContainerRegistry.getInstance().findContainerStacks(type="machine")
+        other_machine_stacks.sort(key = lambda machine: machine.getName().upper())
 
         abstract_machine_stacks = CuraContainerRegistry.getInstance().findContainerStacks(is_abstract_machine = "True")
         abstract_machine_stacks.sort(key = lambda machine: machine.getName(), reverse = True)