mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 21:05:55 +08:00
Added missing name & description for ClusterOutputDevice
CL-541
This commit is contained in:
parent
1719a7b2fe
commit
6ad82ee1b0
@ -62,6 +62,11 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||||||
|
|
||||||
self._active_printer = None # type: Optional[PrinterOutputModel]
|
self._active_printer = None # type: Optional[PrinterOutputModel]
|
||||||
|
|
||||||
|
self.setPriority(3) # Make sure the output device gets selected above local file output
|
||||||
|
self.setName(self._id)
|
||||||
|
self.setShortDescription(i18n_catalog.i18nc("@action:button Preceded by 'Ready to'.", "Print over network"))
|
||||||
|
self.setDescription(i18n_catalog.i18nc("@properties:tooltip", "Print over network"))
|
||||||
|
|
||||||
@pyqtProperty(QObject, notify=activePrinterChanged)
|
@pyqtProperty(QObject, notify=activePrinterChanged)
|
||||||
def controlItem(self):
|
def controlItem(self):
|
||||||
if self._active_printer is None:
|
if self._active_printer is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user