Fix unhandled enter on sign in and add chat pages

This commit is contained in:
miruka 2020-06-26 09:28:58 -04:00
parent dc3e90ffc3
commit 33d09c320b
4 changed files with 5 additions and 0 deletions

View File

@ -92,6 +92,7 @@ HFlickableColumnPage {
} }
} }
onKeyboardAccept: page.signIn()
onKeyboardCancel: page.cancel() onKeyboardCancel: page.cancel()

View File

@ -64,6 +64,7 @@ HFlickableColumnPage {
} }
} }
onKeyboardAccept: create()
onKeyboardCancel: cancel() onKeyboardCancel: cancel()

View File

@ -81,6 +81,7 @@ HFlickableColumnPage {
} }
} }
onKeyboardAccept: startChat()
onKeyboardCancel: cancel() onKeyboardCancel: cancel()

View File

@ -58,6 +58,7 @@ HFlickableColumnPage {
footer: ButtonLayout { footer: ButtonLayout {
ApplyButton { ApplyButton {
id: joinButton
text: qsTr("Join") text: qsTr("Join")
icon.name: "room-join" icon.name: "room-join"
enabled: Boolean(roomField.item.text.trim()) enabled: Boolean(roomField.item.text.trim())
@ -69,6 +70,7 @@ HFlickableColumnPage {
} }
} }
onKeyboardAccept: join()
onKeyboardCancel: cancel() onKeyboardCancel: cancel()