mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
Rename gotoPage to goToPage
This commit is contained in:
parent
a8e2fcf5f5
commit
2b0e2d84bb
3 changed files with 5 additions and 5 deletions
|
@ -204,7 +204,7 @@ Item
|
|||
text: catalog.i18nc("@button", "Cancel")
|
||||
width: UM.Theme.getSize("action_button").width
|
||||
fixedWidthMode: true
|
||||
onClicked: base.gotoPage("add_printer_by_selection")
|
||||
onClicked: base.goToPage("add_printer_by_selection")
|
||||
}
|
||||
|
||||
Cura.PrimaryButton
|
||||
|
|
|
@ -67,7 +67,7 @@ Item
|
|||
|
||||
onAddByIpButtonClicked:
|
||||
{
|
||||
base.gotoPage("add_printer_by_ip")
|
||||
base.goToPage("add_printer_by_ip")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -148,7 +148,7 @@ Item
|
|||
// TODO: implement machine actions
|
||||
|
||||
// If we have created a machine, go to the last page, which is the "cloud" page.
|
||||
base.gotoPage("cloud")
|
||||
base.goToPage("cloud")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ Item
|
|||
signal showNextPage()
|
||||
signal showPreviousPage()
|
||||
signal passLastPage() // Emitted when there is no more page to show
|
||||
signal gotoPage(string page_id) // Go to a specific page by the given page_id.
|
||||
signal goToPage(string page_id) // Go to a specific page by the given page_id.
|
||||
|
||||
onShowNextPage:
|
||||
{
|
||||
|
@ -54,7 +54,7 @@ Item
|
|||
}
|
||||
}
|
||||
|
||||
onGotoPage:
|
||||
onGoToPage:
|
||||
{
|
||||
// find the page index
|
||||
var page_index = -1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue