fix(StatusChatListItem): don't signal item selection if already selected
Closes #303
This commit is contained in:
parent
7e03daeaf9
commit
b345c75a4c
|
@ -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