mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Initiate an account sync immediately after pressing "Add cloud printer"
It was a bit weird that the sync didn't happen immediately and you had to wait for 30seconds until the printer appeared.
This commit is contained in:
parent
985bcd6622
commit
5266cbb950
1 changed files with 1 additions and 0 deletions
|
@ -205,6 +205,7 @@ Item
|
||||||
height: UM.Theme.getSize("message_action_button").height
|
height: UM.Theme.getSize("message_action_button").height
|
||||||
onClicked: {
|
onClicked: {
|
||||||
CuraApplication.getDiscoveredCloudPrintersModel().clear()
|
CuraApplication.getDiscoveredCloudPrintersModel().clear()
|
||||||
|
Cura.API.account.sync(true)
|
||||||
base.addCloudPrinterButtonClicked()
|
base.addCloudPrinterButtonClicked()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue