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 Michał Cieślak
parent 06e34cc5a1
commit 32eeb91cd2
1 changed files with 3 additions and 1 deletions

View File

@ -85,8 +85,10 @@ Column {
popupMenuSlot.item.openHandler = originalOpenHandler
return
}
if (!statusChatListItem.selected) {
statusChatList.chatItemSelected(model.chatId || model.id)
}
}
onUnmute: statusChatList.chatItemUnmuted(model.chatId || model.id)
visible: {
if (!!statusChatList.filterFn) {