mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Add back button to return from USB workflow to welcome screen
This allows the user to see the welcome screen instructions again. Or to switch back to internet-syncing if they accidentally pressed the USB button (or were just curious). Contributes to issue CURA-8609.
This commit is contained in:
parent
43bcd2b56a
commit
9ffbaa772f
1 changed files with 11 additions and 4 deletions
|
@ -491,6 +491,14 @@ Window
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
}
|
||||
|
||||
Cura.TertiaryButton
|
||||
{
|
||||
text: catalog.i18nc("@button", "How to load new material profiles to my printer")
|
||||
iconSource: UM.Theme.getIcon("LinkExternal")
|
||||
onClicked: Qt.openUrlExternally("https://support.ultimaker.com/hc/en-us/articles/360013137919?utm_source=cura&utm_medium=software&utm_campaign=sync-material-wizard-how-usb")
|
||||
}
|
||||
|
||||
Item
|
||||
{
|
||||
width: parent.width
|
||||
|
@ -498,12 +506,11 @@ Window
|
|||
Layout.preferredWidth: width
|
||||
Layout.preferredHeight: height
|
||||
|
||||
Cura.TertiaryButton
|
||||
Cura.SecondaryButton
|
||||
{
|
||||
anchors.left: parent.left
|
||||
text: catalog.i18nc("@button", "How to load new material profiles to my printer")
|
||||
iconSource: UM.Theme.getIcon("LinkExternal")
|
||||
onClicked: Qt.openUrlExternally("https://support.ultimaker.com/hc/en-us/articles/360013137919?utm_source=cura&utm_medium=software&utm_campaign=sync-material-wizard-how-usb")
|
||||
text: catalog.i18nc("@button", "Back")
|
||||
onClicked: swipeView.currentIndex = 0 //Reset to first page.
|
||||
}
|
||||
Cura.PrimaryButton
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue