1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 03:53:23 +02:00

importFromDevicePage: clear all textFields when entering the page

Change-Id: Ia72453166b28b0a598288663c4b5d84461556b38
This commit is contained in:
Ming Rui Zhang 2021-08-11 16:05:32 -04:00
parent 7ccfd469d4
commit 2bbb452e65

View file

@ -55,8 +55,10 @@ Rectangle {
function onMainStepChanged() {
if (WizardViewStepModel.mainStep === WizardViewStepModel.MainSteps.AccountCreation &&
WizardViewStepModel.accountCreationOption ===
WizardViewStepModel.AccountCreationOption.ImportFromDevice)
WizardViewStepModel.AccountCreationOption.ImportFromDevice) {
clearAllTextFields()
root.showThisPage()
}
}
}