change selected list on click

This commit is contained in:
Iuri Matias 2020-05-11 12:23:03 -04:00
parent 53ac253cab
commit a5494210ed
1 changed files with 7 additions and 0 deletions

View File

@ -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