chore: add safety to satisfy QML
This commit is contained in:
parent
82960a912b
commit
00e2a7406a
|
@ -71,7 +71,9 @@ Column {
|
|||
}
|
||||
|
||||
popupMenuSlot.item.closeHandler = function () {
|
||||
statusChatListItem.highlighted = false
|
||||
if (statusChatListItem) {
|
||||
statusChatListItem.highlighted = false
|
||||
}
|
||||
if (!!originalCloseHandler) {
|
||||
originalCloseHandler()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue