Fix checking if still connected or not

This commit is contained in:
ChrisTerBeke 2019-08-12 20:08:57 +02:00
parent 77adbdd286
commit 945e5f08a3
No known key found for this signature in database
GPG key ID: A49F1AB9D7E0C263
2 changed files with 41 additions and 15 deletions

View file

@ -236,7 +236,7 @@ class LocalClusterOutputDeviceManager:
machine.setName(device.name)
machine.setMetaDataEntry(self.META_NETWORK_KEY, device.key)
machine.setMetaDataEntry("group_name", device.name)
device.connect()
machine.addConfiguredConnectionType(device.connectionType.value)
CuraApplication.getInstance().getOutputDeviceManager().addOutputDevice(device)