mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06: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
1 changed files with 0 additions and 1 deletions
|
@ -194,7 +194,6 @@ class CloudOutputDeviceManager:
|
||||||
if not device:
|
if not device:
|
||||||
return
|
return
|
||||||
device.close()
|
device.close()
|
||||||
CuraApplication.getInstance().getDiscoveredPrintersModel().removeDiscoveredPrinter(device.key)
|
|
||||||
output_device_manager = CuraApplication.getInstance().getOutputDeviceManager()
|
output_device_manager = CuraApplication.getInstance().getOutputDeviceManager()
|
||||||
if device.key in output_device_manager.getOutputDeviceIds():
|
if device.key in output_device_manager.getOutputDeviceIds():
|
||||||
output_device_manager.removeOutputDevice(device.key)
|
output_device_manager.removeOutputDevice(device.key)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue