From a5494210ed305206e45f8916e3ae7adaec975add Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Mon, 11 May 2020 12:23:03 -0400 Subject: [PATCH] change selected list on click --- main.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main.qml b/main.qml index 629979ce57..6894ecef46 100644 --- a/main.qml +++ b/main.qml @@ -261,6 +261,7 @@ ApplicationWindow { Component { id: chatViewDelegate + Rectangle { id: wrapper height: 64 @@ -272,6 +273,12 @@ ApplicationWindow { anchors.left: parent.left anchors.leftMargin: 16 radius: 8 + + MouseArea { + anchors.fill: parent + onClicked: listView.currentIndex = index + } + Rectangle { id: contactImage width: 40