Skip to content

Commit

Permalink
Fixed issue blacksailer#122
Browse files Browse the repository at this point in the history
Release the input handler before sending a message.
Done as in jolla-messages app.
  • Loading branch information
foolsbazar committed May 27, 2019
1 parent 2882944 commit 353b788
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions depecher/qml/pages/MessagingPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ Page {
}

function sendText(text,reply_id) {
Qt.inputMethod.commit()
if(writer.state == "publish"){
if(text.trim().length > 0)
messagingModel.sendTextMessage(text,reply_id)
Expand Down

0 comments on commit 353b788

Please sign in to comment.