mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
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:
parent
8386d094d3
commit
64cfe423fe
1 changed files with 3 additions and 1 deletions
|
|
@ -16,8 +16,10 @@ Item
|
||||||
UM.I18nCatalog { id: catalog; name: "cura" }
|
UM.I18nCatalog { id: catalog; name: "cura" }
|
||||||
|
|
||||||
property bool newCloudPrintersDetected: Cura.API.account.newCloudPrintersDetected
|
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
|
// 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 can close. If not, then proceed to the next page (if any)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue