mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -06:00
Fix how onboarding flow is shown
CURA-6447
This commit is contained in:
parent
61ee2ec85c
commit
b692787def
2 changed files with 73 additions and 33 deletions
|
@ -84,7 +84,7 @@ UM.MainWindow
|
|||
Cura.Actions.parent = backgroundItem
|
||||
CuraApplication.purgeWindows()
|
||||
|
||||
if (CuraApplication.needToShowUserAgreement)
|
||||
if (CuraApplication.getWelcomePagesModel().shouldShowWelcomeFlow)
|
||||
{
|
||||
welcomeDialogItem.visible = true
|
||||
}
|
||||
|
@ -92,8 +92,6 @@ UM.MainWindow
|
|||
{
|
||||
welcomeDialogItem.visible = false
|
||||
}
|
||||
// TODO: While the new onboarding process contains the user-agreement,
|
||||
// it should probably not entirely rely on 'needToShowUserAgreement' for show/hide.
|
||||
}
|
||||
|
||||
Item
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue