From 337916c8e4854cd6f4f157a901788d633e8917f8 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 6 Jun 2021 17:29:11 +0300 Subject: Do not select any chat by default --- qml/ChatlistPage.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml index 9bc9c5a..e1fb3b9 100644 --- a/qml/ChatlistPage.qml +++ b/qml/ChatlistPage.qml @@ -103,6 +103,7 @@ Kirigami.ScrollablePage { anchors.fill: parent model: chatlistModel + currentIndex: -1 onCurrentItemChanged: { console.log("Current index is " + chatlist.currentIndex) -- cgit v1.2.3-54-g00ecf