mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
CURA-4870 Update the selected configuration in the UI when the
configuration in the printer changes. Modify again the hash function.
This commit is contained in:
parent
d83eb383d9
commit
d02d845d1b
4 changed files with 14 additions and 9 deletions
|
@ -187,6 +187,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
|||
|
||||
def _updateUniqueConfigurations(self):
|
||||
self._unique_configurations = list(set([printer.printerConfiguration for printer in self._printers]))
|
||||
self._unique_configurations.sort(key = lambda k: k.printerType)
|
||||
self.uniqueConfigurationsChanged.emit()
|
||||
|
||||
def _onPrintersChanged(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue