Add cancel button on Locations view to go back to location selector

This commit is contained in:
Angela Mazzurco 2017-07-22 15:42:08 +02:00
parent 962cda0947
commit 64c48be211
2 changed files with 16 additions and 0 deletions

View file

@ -62,6 +62,10 @@ Item
createNewButton.enabled = false
createNewButton.text = "Creating profile..."
}
onCancel:
{
locationView.state = "selectLocation"
}
}
},
State
@ -83,6 +87,10 @@ Item
locationView.attemptLogin = true
attemptTimer.start()
}
onCancel:
{
locationView.state = "selectLocation"
}
}
}
]