mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Skip sign in page if already signed in
Contributes to issue CURA-8609.
This commit is contained in:
parent
f2aba01eff
commit
0bb0c672c5
1 changed files with 10 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue