fix(StatusChatListItem): don't signal item selection if already selected

Closes #303
This commit is contained in:
Pascal Precht 2021-07-30 12:19:39 +02:00 committed by Pascal Precht
parent 7e03daeaf9
commit b345c75a4c
1 changed files with 3 additions and 1 deletions

View File

@ -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: {