mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-19 03:17:28 +08:00
Skip sign in page if already signed in
Contributes to issue CURA-8609.
This commit is contained in:
parent
f2aba01eff
commit
0bb0c672c5
@ -71,7 +71,16 @@ Window
|
||||
bottomMargin: UM.Theme.getSize("default_margin").height
|
||||
}
|
||||
text: catalog.i18nc("@button", "Start")
|
||||
onClicked: swipeView.currentIndex += 1
|
||||
onClicked: {
|
||||
if(Cura.API.account.isLoggedIn)
|
||||
{
|
||||
swipeView.currentIndex += 2; //Skip sign in page.
|
||||
}
|
||||
else
|
||||
{
|
||||
swipeView.currentIndex += 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Cura.TertiaryButton
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user