summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2014-09-24 15:43:13 +0200
committerNiels Weber <niels.weber@digia.com>2014-09-24 14:57:38 +0200
commit235dcb8a5c6797eb5725f22ee356cd9fe11e241b (patch)
treea16b93bca688d53845742f269866ba97a714ec35
parent25b1afcc1691d9a3d4c88be25a8919b317bc196b (diff)
In the feedback text area, commit the text when done editing
So the last word is committed even when using predictive text. Change-Id: I6afc65590221966035068afc457b00d14dfee51c Reviewed-by: Niels Weber <niels.weber@digia.com>
-rw-r--r--qml/components/Feedback.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/qml/components/Feedback.qml b/qml/components/Feedback.qml
index 1558be0..0fe4be2 100644
--- a/qml/components/Feedback.qml
+++ b/qml/components/Feedback.qml
@@ -165,6 +165,7 @@ Item {
onClicked: {
text = "sending..."
Qt.inputMethod.hide()
+ Qt.inputMethod.commit()
ModelsSingleton.saveFeedback(feedbackEdit.text, eventId, rating)
stack.pop()
}