chore: add safety to satisfy QML

This commit is contained in:
Pascal Precht 2021-07-06 12:29:11 +02:00 committed by Michał Cieślak
parent 82960a912b
commit 00e2a7406a

View File

@ -71,7 +71,9 @@ Column {
}
popupMenuSlot.item.closeHandler = function () {
if (statusChatListItem) {
statusChatListItem.highlighted = false
}
if (!!originalCloseHandler) {
originalCloseHandler()
}