mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
Make User-Agreement work with new 'WizadPanel'. [CURA-6057]
This commit is contained in:
parent
d34b3b8585
commit
1cebf145f5
3 changed files with 10 additions and 3 deletions
|
@ -83,7 +83,7 @@ Item
|
|||
onClicked:
|
||||
{
|
||||
CuraApplication.writeToLog("i", "User declined the User Agreement.")
|
||||
base.passLastPage()
|
||||
base.endWizard()
|
||||
CuraApplication.closeApplication() // NOTE: Hard exit, don't use if anything needs to be saved!
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,11 +28,13 @@ Item
|
|||
signal showNextPage()
|
||||
signal showPreviousPage()
|
||||
signal goToPage(string page_id) // Go to a specific page by the given page_id.
|
||||
signal endWizard()
|
||||
|
||||
// Call the corresponding functions in the model
|
||||
onShowNextPage: model.goToNextPage()
|
||||
onShowPreviousPage: model.goToPreviousPage()
|
||||
onGoToPage: model.goToPage(page_id)
|
||||
onEndWizard: model.atEnd()
|
||||
|
||||
Rectangle // Panel background
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue