change selected list on click
This commit is contained in:
parent
53ac253cab
commit
a5494210ed
7
main.qml
7
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
|
||||
|
|
Loading…
Reference in New Issue