mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
USB printers also get their name set
CL-541
This commit is contained in:
parent
d0ec7d10ce
commit
2ca06f383e
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue