summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/kube/contents/ui/ComposerView.qml1
-rw-r--r--components/kube/contents/ui/LogView.qml1
-rw-r--r--framework/qml/ListDelegate.qml5
-rw-r--r--framework/qml/MailListView.qml2
4 files changed, 5 insertions, 4 deletions
diff --git a/components/kube/contents/ui/ComposerView.qml b/components/kube/contents/ui/ComposerView.qml
index 1bf1406b..02af63c1 100644
--- a/components/kube/contents/ui/ComposerView.qml
+++ b/components/kube/contents/ui/ComposerView.qml
@@ -148,7 +148,6 @@ Kube.View {
148 148
149 color: Kube.Colors.textColor 149 color: Kube.Colors.textColor
150 border.width: 0 150 border.width: 0
151 onClicked: ListView.view.currentIndex = index
152 151
153 Item { 152 Item {
154 id: content 153 id: content
diff --git a/components/kube/contents/ui/LogView.qml b/components/kube/contents/ui/LogView.qml
index c2fe2472..d5f9f710 100644
--- a/components/kube/contents/ui/LogView.qml
+++ b/components/kube/contents/ui/LogView.qml
@@ -57,7 +57,6 @@ Controls.SplitView {
57 delegate: Kube.ListDelegate { 57 delegate: Kube.ListDelegate {
58 border.color: Kube.Colors.buttonColor 58 border.color: Kube.Colors.buttonColor
59 border.width: 1 59 border.width: 1
60 onClicked: ListView.view.currentIndex = index
61 Kube.Label { 60 Kube.Label {
62 id: description 61 id: description
63 anchors { 62 anchors {
diff --git a/framework/qml/ListDelegate.qml b/framework/qml/ListDelegate.qml
index fd654e4c..6d6a5d08 100644
--- a/framework/qml/ListDelegate.qml
+++ b/framework/qml/ListDelegate.qml
@@ -33,6 +33,11 @@ T.ItemDelegate {
33 hoverEnabled: true 33 hoverEnabled: true
34 highlighted: ListView.isCurrentItem 34 highlighted: ListView.isCurrentItem
35 35
36 onClicked: {
37 ListView.view.currentIndex = index
38 ListView.view.forceActiveFocus()
39 }
40
36 background: Kube.DelegateBackground { 41 background: Kube.DelegateBackground {
37 id: background 42 id: background
38 border.color: Kube.Colors.buttonColor 43 border.color: Kube.Colors.buttonColor
diff --git a/framework/qml/MailListView.qml b/framework/qml/MailListView.qml
index 9de30313..d4e0672b 100644
--- a/framework/qml/MailListView.qml
+++ b/framework/qml/MailListView.qml
@@ -107,8 +107,6 @@ FocusScope {
107 //Required for D&D 107 //Required for D&D
108 property var mail: model.mail 108 property var mail: model.mail
109 109
110 onClicked: ListView.view.currentIndex = index
111
112 width: scrollbar.visible ? listView.width - scrollbar.width : listView.width 110 width: scrollbar.visible ? listView.width - scrollbar.width : listView.width
113 height: Kube.Units.gridUnit * 5 111 height: Kube.Units.gridUnit * 5
114 112