Skip to content

Commit

Permalink
Fixed bug whereby the Send key did not submit text entered in the SPP…
Browse files Browse the repository at this point in the history
… Chat

window.
  • Loading branch information
Martin Woolley committed Aug 19, 2013
1 parent 5227aaa commit 0ee3d05
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bluetoothsppchat/assets/SPPChat.qml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ Page {
inputMode: TextAreaInputMode.Chat
input {
submitKey: SubmitKey.Send

onSubmitted: {
if (text.length > 0) {
_btController.chatManager.sendSPPMessage(text);
textInput.text = ""
}

}

onTextChanged: {
Expand Down

0 comments on commit 0ee3d05

Please sign in to comment.