mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Reverse sorting, newer machines on top.
Same brand or name, but with a higher number should generally be first, so reverse sorting. CURA-9769
This commit is contained in:
parent
f8b0305bae
commit
b4405d886b
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue