1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-03 14:25:38 +02:00

wizardview: clear username line edit when clicking on skip button

It is to prevent using the text in username line edit to create an account
when the user does not want to register it.

Change-Id: Icae024a82141ea06dd6b4c5413de2ad9725433b5
This commit is contained in:
Ming Rui Zhang 2020-09-25 12:08:32 -04:00
parent c821c75443
commit b9e10b025e

View file

@ -209,8 +209,11 @@ Rectangle {
pressedColor: JamiTheme.buttonTintedGreyPressed
outlined: true
onClicked: createAccountStack.currentIndex =
createAccountStack.currentIndex + 1
onClicked: {
usernameEdit.clear()
createAccountStack.currentIndex =
createAccountStack.currentIndex + 1
}
}
AccountCreationStepIndicator {