mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 11:53:17 +08:00
USB printers also get their name set
CL-541
This commit is contained in:
parent
d0ec7d10ce
commit
2ca06f383e
@ -232,6 +232,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
||||
num_extruders = container_stack.getProperty("machine_extruder_count", "value")
|
||||
# Ensure that a printer is created.
|
||||
self._printers = [PrinterOutputModel(output_controller=USBPrinterOuptutController(self), number_of_extruders=num_extruders)]
|
||||
self._printers[0].updateName(container_stack.getName())
|
||||
self.setConnectionState(ConnectionState.connected)
|
||||
self._update_thread.start()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user