mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Move page index logic into WelcomePagesModel
This commit is contained in:
parent
20bd9ea501
commit
418ad73a63
5 changed files with 126 additions and 73 deletions
|
@ -76,12 +76,11 @@ UM.MainWindow
|
|||
|
||||
if (CuraApplication.needToShowUserAgreement)
|
||||
{
|
||||
welcomeDialog.visible = true;
|
||||
welcomeDialog.currentStep = 0;
|
||||
welcomeDialog.show()
|
||||
}
|
||||
else
|
||||
{
|
||||
welcomeDialog.visible = false;
|
||||
welcomeDialog.close()
|
||||
}
|
||||
// TODO: While the new onboarding process contains the user-agreement,
|
||||
// it should probably not entirely rely on 'needToShowUserAgreement' for show/hide.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue