diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-05 00:43:46 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-05 00:43:46 +0200 |
commit | 3e7dd0fb20dc70f80e65a61dabfb7b7f7513b501 (patch) | |
tree | c49da1291cad6349a5cd607780671cdf58e97e87 /views/composer/qml/View.qml | |
parent | 4361101206ff10f285715af68adaf2b24ec2f5f0 (diff) | |
download | kube-3e7dd0fb20dc70f80e65a61dabfb7b7f7513b501.tar.gz kube-3e7dd0fb20dc70f80e65a61dabfb7b7f7513b501.zip |
Force keyboard focus
otherwise the element won't highlight as it should.
Diffstat (limited to 'views/composer/qml/View.qml')
-rw-r--r-- | views/composer/qml/View.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/composer/qml/View.qml b/views/composer/qml/View.qml index e7f7a6d1..f980bfd6 100644 --- a/views/composer/qml/View.qml +++ b/views/composer/qml/View.qml | |||
@@ -382,7 +382,7 @@ Kube.View { | |||
382 | } | 382 | } |
383 | 383 | ||
384 | onActiveFocusChanged: closeFirstSplitIfNecessary() | 384 | onActiveFocusChanged: closeFirstSplitIfNecessary() |
385 | Keys.onEscapePressed: recipients.forceActiveFocus() | 385 | Keys.onEscapePressed: recipients.forceActiveFocus(Qt.TabFocusReason) |
386 | onTextChanged: { | 386 | onTextChanged: { |
387 | composerController.body = text; | 387 | composerController.body = text; |
388 | } | 388 | } |