mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Reset the model when pressing the Add cloud printer button
CURA-7022
This commit is contained in:
parent
1d4225a44a
commit
6583f5f5ac
4 changed files with 9 additions and 6 deletions
|
@ -146,7 +146,7 @@ class CloudOutputDeviceManager:
|
|||
self._remote_clusters[device.getId()] = device
|
||||
remote_clusters_added = True
|
||||
|
||||
CuraApplication.getInstance().getDiscoveredUltimakerCloudPrintersModel().addDiscoveredUltimakerCloudPrinter(new_devices)
|
||||
CuraApplication.getInstance().getDiscoveredUltimakerCloudPrintersModel().addDiscoveredUltimakerCloudPrinters(new_devices)
|
||||
|
||||
if not new_devices:
|
||||
if remote_clusters_added:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue