Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorc.lamboo <casperlamboo@gmail.com>2022-11-09 16:02:49 +0300
committerc.lamboo <casperlamboo@gmail.com>2022-11-09 16:02:49 +0300
commitefe86c27b0286bcaeed20ca86905b299c4d46b28 (patch)
tree3ed477eec481843a008baecacadae130c8259039
parentf73d192d65232acd14d0d0a695aaf0ccc1475356 (diff)
parentf1c8d3d9e001bfb01ebd13b4bc7abac18a67f50f (diff)
Merge remote-tracking branch 'origin/CURA-8689_add_first_cloud_printer_tweaks' into CURA-8689_add_first_cloud_printer_tweaks
-rw-r--r--resources/qml/WelcomePages/AddUltimakerPrinter.qml9
1 files changed, 8 insertions, 1 deletions
diff --git a/resources/qml/WelcomePages/AddUltimakerPrinter.qml b/resources/qml/WelcomePages/AddUltimakerPrinter.qml
index 7325b77ec8..f175942e06 100644
--- a/resources/qml/WelcomePages/AddUltimakerPrinter.qml
+++ b/resources/qml/WelcomePages/AddUltimakerPrinter.qml
@@ -122,7 +122,14 @@ Control
id: signInButton
Layout.alignment: Qt.AlignRight
text: catalog.i18nc("@button", "Sign in to Digital Factory")
- onClicked: Qt.openUrlExternally("https://digitalfactory.ultimaker.com/app/printers?add_printer=true&utm_source=cura&utm_medium=software&utm_campaign=onboarding-add-printer")
+ onClicked: function()
+ {
+ Qt.openUrlExternally("https://digitalfactory.ultimaker.com/app/printers?add_printer=true&utm_source=cura&utm_medium=software&utm_campaign=onboarding-add-printer")
+ text = catalog.i18nc("@button", "Waiting for new printers")
+ busy = true;
+ enabled = false;
+ Cura.API.account.login();
+ }
}
}
}