Browse Source

Reverse sorting, newer machines on top.

Same brand or name, but with a higher number should generally be first, so reverse sorting.

CURA-9769
Remco Burema 2 years ago
parent
commit
b4405d886b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/PrinterOutput/PrinterOutputDevice.py

+ 1 - 1
cura/PrinterOutput/PrinterOutputDevice.py

@@ -252,7 +252,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
             # List could end up empty!
             Logger.log("e", "Found a broken configuration in the synced list!")
             all_configurations.remove(None)
-        new_configurations = sorted(all_configurations, key = lambda config: config.printerType or "")
+        new_configurations = sorted(all_configurations, key = lambda config: config.printerType or "", reverse = True)
         if new_configurations != self._unique_configurations:
             self._unique_configurations = new_configurations
             self.uniqueConfigurationsChanged.emit()