mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -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
|
@ -202,7 +202,10 @@ Item
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
text: catalog.i18nc("@label", "Add cloud printer")
|
||||
height: UM.Theme.getSize("message_action_button").height
|
||||
onClicked: base.addCloudPrinterButtonClicked()
|
||||
onClicked: {
|
||||
CuraApplication.getDiscoveredUltimakerCloudPrintersModel().clear()
|
||||
base.addCloudPrinterButtonClicked()
|
||||
}
|
||||
}
|
||||
|
||||
Item
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue