Fix JoinRoom cancel button not going to last page

This commit is contained in:
miruka 2020-10-15 20:34:48 -04:00
parent d4be4cca69
commit 38360b101a
3 changed files with 4 additions and 2 deletions

View File

@ -45,6 +45,7 @@ HFlickableColumnPage {
publicCheckBox.reset()
encryptCheckBox.reset()
blockOtherServersCheckBox.reset()
errorMessage.text = ""
pageLoader.showPrevious()
}

View File

@ -75,8 +75,9 @@ HFlickableColumnPage {
CancelButton {
onClicked: {
userField.item.text = ""
userField.item.reset()
errorMessage.text = ""
pageLoader.showPrevious()
}
}

View File

@ -49,7 +49,7 @@ HFlickableColumnPage {
function cancel() {
roomField.item.reset()
errorMessage.reset()
errorMessage.text = ""
pageLoader.showPrevious()
}