diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-24 16:42:46 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-24 16:42:46 +0200 |
commit | 0d8e1b3b351a5ebe159ee6dfa89201ebd20fdce8 (patch) | |
tree | d4c4ff34bf64019bc9fc9be35b664cde681a4310 | |
parent | be29e22144307802956bf201c5790c1ed9d7baaa (diff) | |
download | kube-0d8e1b3b351a5ebe159ee6dfa89201ebd20fdce8.tar.gz kube-0d8e1b3b351a5ebe159ee6dfa89201ebd20fdce8.zip |
Only close the split view when gaining focus
-rw-r--r-- | components/kube/contents/ui/ComposerView.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/components/kube/contents/ui/ComposerView.qml b/components/kube/contents/ui/ComposerView.qml index 098a1971..a06ef19c 100644 --- a/components/kube/contents/ui/ComposerView.qml +++ b/components/kube/contents/ui/ComposerView.qml | |||
@@ -245,7 +245,11 @@ Kube.View { | |||
245 | placeholderText: qsTr("Enter Subject...") | 245 | placeholderText: qsTr("Enter Subject...") |
246 | text: composerController.subject | 246 | text: composerController.subject |
247 | onTextChanged: composerController.subject = text; | 247 | onTextChanged: composerController.subject = text; |
248 | onActiveFocusChanged: closeFirstSplitIfNecessary() | 248 | onActiveFocusChanged: { |
249 | if (activeFocus) { | ||
250 | closeFirstSplitIfNecessary() | ||
251 | } | ||
252 | } | ||
249 | } | 253 | } |
250 | 254 | ||
251 | Flow { | 255 | Flow { |