diff options
author | Niels Weber <niels.weber@digia.com> | 2014-09-24 15:01:20 +0200 |
---|---|---|
committer | Caroline Chao <caroline.chao@digia.com> | 2014-09-24 15:15:07 +0200 |
commit | 4018d07cea5716f6c1f5a5413f03393cd6098b3a (patch) | |
tree | 702bb2996210c92969435d1ed6efb3f0d48b57e1 | |
parent | 5c90b15c31eca21cc8294624d34ec9417e5120a8 (diff) |
Force active focus after feedback
Change-Id: I6ff26d9159c8a0c6e0f6f589c528705a51ae8326
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
-rw-r--r-- | qml/components/Feedback.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qml/components/Feedback.qml b/qml/components/Feedback.qml index 0fe4be2..4317d9f 100644 --- a/qml/components/Feedback.qml +++ b/qml/components/Feedback.qml @@ -139,6 +139,7 @@ Item { onClicked: { rating = -1 feedbackEdit.text = Theme.text.writeYourCommentHere + stack.forceActiveFocus() } width: Theme.sizes.buttonWidth height: Theme.sizes.buttonHeight @@ -168,6 +169,7 @@ Item { Qt.inputMethod.commit() ModelsSingleton.saveFeedback(feedbackEdit.text, eventId, rating) stack.pop() + stack.forceActiveFocus() } width: Theme.sizes.buttonWidth height: Theme.sizes.buttonHeight |