diff --git a/resources/qml/WelcomePages/CloudContent.qml b/resources/qml/WelcomePages/CloudContent.qml index a14c6600cd..36a7b9a923 100644 --- a/resources/qml/WelcomePages/CloudContent.qml +++ b/resources/qml/WelcomePages/CloudContent.qml @@ -16,8 +16,10 @@ Item UM.I18nCatalog { id: catalog; name: "cura" } property bool newCloudPrintersDetected: Cura.API.account.newCloudPrintersDetected + signal cloudPrintersDetected(bool newCloudPrintersDetected) - onNewCloudPrintersDetectedChanged: + Component.onCompleted: Cura.API.account.cloudPrintersDetectedChanged.connect(cloudPrintersDetected) + onCloudPrintersDetected: { // When the user signs in successfully, it will be checked whether he/she has cloud printers connected to // the account. If he/she does, then the welcome wizard can close. If not, then proceed to the next page (if any)