Fix moving to next page when no printers in account

Fixed a bug where the welcome wizard was not moving to the next page
if the account had no printers connected to it.

CURA-7019
This commit is contained in:
Kostas Karmas 2020-04-29 11:49:45 +02:00
parent 8386d094d3
commit 64cfe423fe

View file

@ -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)