From 9233036f014149b27bb8c1a98870b624d8e6b2b5 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 4 Jul 2021 00:00:00 +0300 Subject: Reload chatlist when some chat is modified --- qml/ChatlistPage.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qml') diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml index 6d1a083..343b8da 100644 --- a/qml/ChatlistPage.qml +++ b/qml/ChatlistPage.qml @@ -26,6 +26,10 @@ Kirigami.ScrollablePage { // Reload chatlist updateChatlist(); } + function onChatModified() { + // Reload chatlist + updateChatlist(); + } } Component.onCompleted: { -- cgit v1.2.3-70-g09d2