Skip to content

Commit

Permalink
Merge pull request #136 from mdwoolley/master
Browse files Browse the repository at this point in the history
Fixed bug whereby the Send key did not submit text entered in the SPP Ch...
  • Loading branch information
pelegri committed Aug 19, 2013
2 parents 5227aaa + 0ee3d05 commit 181fdfd
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 181fdfd

Please sign in to comment.