mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 15:25:58 +08:00
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:
parent
99b4b86052
commit
ff017e6a52
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user