diff options
Diffstat (limited to 'framework/qml/People.qml')
-rw-r--r-- | framework/qml/People.qml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/qml/People.qml b/framework/qml/People.qml index bdb2cdf2..c2c6c9ef 100644 --- a/framework/qml/People.qml +++ b/framework/qml/People.qml | |||
@@ -134,15 +134,13 @@ FocusScope { | |||
134 | filter: searchBar.text | 134 | filter: searchBar.text |
135 | } | 135 | } |
136 | 136 | ||
137 | //TODO using Kube.Button currently crashes, but shouldn't | 137 | delegate: Kube.AbstractButton { |
138 | delegate: Button { | ||
139 | id: delegateRoot | 138 | id: delegateRoot |
140 | 139 | ||
141 | height: Kube.Units.gridUnit * 3 | 140 | height: Kube.Units.gridUnit * 3 |
142 | width: Kube.Units.gridUnit * 10 | 141 | width: Kube.Units.gridUnit * 10 |
143 | 142 | ||
144 | activeFocusOnTab: true | 143 | activeFocusOnTab: true |
145 | Keys.onReturnPressed: delegateRoot.clicked() | ||
146 | 144 | ||
147 | onClicked: { | 145 | onClicked: { |
148 | root.currentContact = model.domainObject | 146 | root.currentContact = model.domainObject |