mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 05:11:04 -07:00
Merge branch 'CURA-5942_printer_selector' of github.com:Ultimaker/Cura into CURA-5942_printer_selector
This commit is contained in:
commit
4d6d0ed70c
1 changed files with 2 additions and 2 deletions
|
|
@ -212,7 +212,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
|||
self.uniqueConfigurationsChanged.emit()
|
||||
|
||||
# Returns the unique configurations of the printers within this output device
|
||||
@pyqtProperty("QVariantList", notify = uniqueConfigurationsChanged)
|
||||
@pyqtProperty("QStringList", notify = uniqueConfigurationsChanged)
|
||||
def uniquePrinterTypes(self) -> List[str]:
|
||||
return list(set([configuration.printerType for configuration in self._unique_configurations]))
|
||||
|
||||
|
|
@ -243,4 +243,4 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
|||
if not self._firmware_updater:
|
||||
return
|
||||
|
||||
self._firmware_updater.updateFirmware(firmware_file)
|
||||
self._firmware_updater.updateFirmware(firmware_file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue