mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:49:04 +08:00
Rename gotoPage to goToPage
This commit is contained in:
parent
a8e2fcf5f5
commit
2b0e2d84bb
@ -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…
x
Reference in New Issue
Block a user