summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/kube/qml/ComposerView.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/kube/qml/ComposerView.qml b/components/kube/qml/ComposerView.qml
index 9119de27..ac45f5c8 100644
--- a/components/kube/qml/ComposerView.qml
+++ b/components/kube/qml/ComposerView.qml
@@ -78,7 +78,6 @@ Kube.View {
78 function closeFirstSplitIfNecessary() { 78 function closeFirstSplitIfNecessary() {
79 //Move the view forward 79 //Move the view forward
80 if (root.currentIndex == 0) { 80 if (root.currentIndex == 0) {
81 listView.currentIndex = -1
82 root.incrementCurrentIndex() 81 root.incrementCurrentIndex()
83 } 82 }
84 } 83 }
@@ -114,6 +113,7 @@ Kube.View {
114 focus: true 113 focus: true
115 text: qsTr("New Email") 114 text: qsTr("New Email")
116 onClicked: { 115 onClicked: {
116 listView.currentIndex = -1
117 composerController.clear() 117 composerController.clear()
118 subject.forceActiveFocus() 118 subject.forceActiveFocus()
119 } 119 }
@@ -135,6 +135,8 @@ Kube.View {
135 135
136 Layout.fillHeight: true 136 Layout.fillHeight: true
137 clip: true 137 clip: true
138 currentIndex: -1
139 highlightFollowsCurrentItem: false
138 140
139 //BEGIN keyboard nav 141 //BEGIN keyboard nav
140 onActiveFocusChanged: { 142 onActiveFocusChanged: {