mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-03 15:51:12 -07: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
|
|
@ -169,7 +169,7 @@ Item
|
|||
text: catalog.i18nc("@button", "Add printer manually")
|
||||
onClicked:
|
||||
{
|
||||
discoveredCloudPrintersModel.clearDiscoveredUltimakerCloudPrinters()
|
||||
discoveredCloudPrintersModel.clear()
|
||||
base.showPreviousPage()
|
||||
}
|
||||
}
|
||||
|
|
@ -182,7 +182,7 @@ Item
|
|||
text: catalog.i18nc("@button", "Finish")
|
||||
onClicked:
|
||||
{
|
||||
addCloudPrinterScreen.discoveredCloudPrintersModel.clearDiscoveredUltimakerCloudPrinters()
|
||||
discoveredCloudPrintersModel.clear()
|
||||
base.showNextPage()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue