mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Proper way to handle cancel signal to go back
This commit is contained in:
parent
cd809165db
commit
20b2de59c5
@ -64,6 +64,11 @@ Item
|
|||||||
bottomButton.enabled = false
|
bottomButton.enabled = false
|
||||||
bottomButton.text = "Creating profile..."
|
bottomButton.text = "Creating profile..."
|
||||||
}
|
}
|
||||||
|
onCancel:
|
||||||
|
{
|
||||||
|
locationView.state = "selectLocation"
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
State
|
State
|
||||||
@ -85,6 +90,10 @@ Item
|
|||||||
locationView.attemptLogin = true
|
locationView.attemptLogin = true
|
||||||
attemptTimer.start()
|
attemptTimer.start()
|
||||||
}
|
}
|
||||||
|
onCancel:
|
||||||
|
{
|
||||||
|
locationView.state = "selectLocation"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user