fix(StatusChatListItem): don't signal item selection if already selected
Closes #303
This commit is contained in:
parent
06e34cc5a1
commit
32eeb91cd2
|
@ -85,8 +85,10 @@ Column {
|
||||||
popupMenuSlot.item.openHandler = originalOpenHandler
|
popupMenuSlot.item.openHandler = originalOpenHandler
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (!statusChatListItem.selected) {
|
||||||
statusChatList.chatItemSelected(model.chatId || model.id)
|
statusChatList.chatItemSelected(model.chatId || model.id)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
onUnmute: statusChatList.chatItemUnmuted(model.chatId || model.id)
|
onUnmute: statusChatList.chatItemUnmuted(model.chatId || model.id)
|
||||||
visible: {
|
visible: {
|
||||||
if (!!statusChatList.filterFn) {
|
if (!!statusChatList.filterFn) {
|
||||||
|
|
Loading…
Reference in New Issue