From b345c75a4c63317b4f159820d20506e64ec82f0e Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Fri, 30 Jul 2021 12:19:39 +0200 Subject: [PATCH] fix(StatusChatListItem): don't signal item selection if already selected Closes #303 --- src/StatusQ/Components/StatusChatList.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/StatusQ/Components/StatusChatList.qml b/src/StatusQ/Components/StatusChatList.qml index 18f16946..c147ed4b 100644 --- a/src/StatusQ/Components/StatusChatList.qml +++ b/src/StatusQ/Components/StatusChatList.qml @@ -85,7 +85,9 @@ Column { popupMenuSlot.item.openHandler = originalOpenHandler return } - statusChatList.chatItemSelected(model.chatId || model.id) + if (!statusChatListItem.selected) { + statusChatList.chatItemSelected(model.chatId || model.id) + } } onUnmute: statusChatList.chatItemUnmuted(model.chatId || model.id) visible: {