Display a summary of the Cloud printers added after login in WelcomeWizard

If the user has cloud printers linked to his/her account, then the welcome
wizard will display a summary of the cloud printers that were found in the account
and added in Cura.

CURA-7022
This commit is contained in:
Kostas Karmas 2020-04-29 12:11:05 +02:00
parent c7cf0fab2f
commit fb328bd307

View File

@ -22,10 +22,11 @@ Item
onCloudPrintersDetected: onCloudPrintersDetected:
{ {
// When the user signs in successfully, it will be checked whether he/she has cloud printers connected to // 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) // the account. If he/she does, then the welcome wizard will show a summary of the Cloud printers linked to the
// account. If there are no cloud printers, then proceed to the next page (if any)
if(newCloudPrintersDetected) if(newCloudPrintersDetected)
{ {
base.endWizard() base.goToPage("add_cloud_printers")
} }
else else
{ {