diff --git a/ui/StatusQ/src/StatusQ/Popups/StatusPopupMenu.qml b/ui/StatusQ/src/StatusQ/Popups/StatusPopupMenu.qml index 349a259edf..3340a79eec 100644 --- a/ui/StatusQ/src/StatusQ/Popups/StatusPopupMenu.qml +++ b/ui/StatusQ/src/StatusQ/Popups/StatusPopupMenu.qml @@ -16,6 +16,13 @@ Menu { property int menuItemCount: 0 property var subMenuItemIcons: [] + property var closeHandler + + onClosed: { + if (typeof closeHandler === "function") { + closeHandler() + } + } delegate: MenuItem { id: statusPopupMenuItem