mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 07:25:56 +08:00
Use 'try again' as button text if the first attempt failed
Contributes to issue CURA-8609.
This commit is contained in:
parent
c2057c94db
commit
5b14792c76
@ -452,7 +452,7 @@ Window
|
|||||||
{
|
{
|
||||||
id: syncButton
|
id: syncButton
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
text: catalog.i18nc("@button", "Sync")
|
text: (typeof syncModel !== "undefined" && syncModel.exportUploadStatus == "error") ? catalog.i18nc("@button", "Try again") : catalog.i18nc("@button", "Sync")
|
||||||
onClicked: syncModel.exportUpload()
|
onClicked: syncModel.exportUpload()
|
||||||
visible:
|
visible:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user