mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Add-by-IP onboarding: Create (and set active) new device. [CURA-6294]
This commit is contained in:
parent
bb17ab14da
commit
b12b6892ca
2 changed files with 15 additions and 51 deletions
|
@ -301,7 +301,8 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
|
|||
self._onRemoveDevice(instance_name)
|
||||
self._onAddDevice(instance_name, address, properties)
|
||||
|
||||
if device:
|
||||
if device and address in self._manual_instances:
|
||||
self.getOutputDeviceManager().addOutputDevice(device)
|
||||
self.addManualDeviceSignal.emit(self.getPluginId(), device.getId(), address, properties)
|
||||
|
||||
def _onRemoveDevice(self, device_id):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue