aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qml/ChatlistPage.qml1
1 files changed, 1 insertions, 0 deletions
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)