Remove unnecessary call to remove printer from qt model

Since cloud printers are not added to that model anymore

CURA-7055
This commit is contained in:
Nino van Hooff 2020-04-07 14:44:24 +02:00
parent 99b4b86052
commit ff017e6a52

View file

@ -194,7 +194,6 @@ class CloudOutputDeviceManager:
if not device:
return
device.close()
CuraApplication.getInstance().getDiscoveredPrintersModel().removeDiscoveredPrinter(device.key)
output_device_manager = CuraApplication.getInstance().getOutputDeviceManager()
if device.key in output_device_manager.getOutputDeviceIds():
output_device_manager.removeOutputDevice(device.key)