mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Replace old User-Agreement-page with new Welcome-Pages. [CURA-6057]
This commit is contained in:
parent
2693eecd33
commit
0f116fa3f4
4 changed files with 25 additions and 7 deletions
|
@ -62,7 +62,12 @@ Item
|
|||
text: catalog.i18nc("@button", "Agree")
|
||||
width: 140
|
||||
fixedWidthMode: true
|
||||
onClicked: base.showNextPage()
|
||||
onClicked:
|
||||
{
|
||||
CuraApplication.writeToLog("i", "User accepted the User-Agreement.")
|
||||
CuraApplication.setNeedToShowUserAgreement(false)
|
||||
base.showNextPage()
|
||||
}
|
||||
}
|
||||
|
||||
Cura.SecondaryButton
|
||||
|
@ -74,6 +79,11 @@ Item
|
|||
text: catalog.i18nc("@button", "Decline and close")
|
||||
width: 140
|
||||
fixedWidthMode: true
|
||||
onClicked: base.showNextPage() // TODO: quit
|
||||
onClicked:
|
||||
{
|
||||
CuraApplication.writeToLog("i", "User declined the User Agreement.")
|
||||
base.passLastPage()
|
||||
CuraApplication.closeApplication() // NOTE: Hard exit, don't use if anything needs to be saved!
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue