chore: add safety to satisfy QML
This commit is contained in:
parent
7dcec0cace
commit
0072154f9f
|
@ -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