mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
USB device is first added and then trying to connect.
This is to ensure that USB printers work without autodetect
This commit is contained in:
parent
bd4797404d
commit
1ae881caee
2 changed files with 2 additions and 2 deletions
|
@ -157,8 +157,8 @@ class USBPrinterOutputDeviceManager(QObject, OutputDevicePlugin, Extension):
|
|||
def addOutputDevice(self, serial_port):
|
||||
device = USBPrinterOutputDevice.USBPrinterOutputDevice(serial_port)
|
||||
device.connectionStateChanged.connect(self._onConnectionStateChanged)
|
||||
device.connect()
|
||||
self._usb_output_devices[serial_port] = device
|
||||
device.connect()
|
||||
|
||||
## Create a list of serial ports on the system.
|
||||
# \param only_list_usb If true, only usb ports are listed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue