fix: Channels stay highlighted when they are not selected

disable the highlight also when not exiting the DropArea

Fixes #11459
This commit is contained in:
Lukáš Tinkl 2023-07-14 17:31:37 +02:00 committed by Lukáš Tinkl
parent 5f1483a595
commit 875e17b061
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ Item {
}
onDropped: function(drop) {
statusChatListCategoryItem.highlighted = false;
statusChatListItem.highlighted = false;
const from = drop.source.visualIndex;
const to = chatListDelegate.visualIndex;
if (to === from)