diff --git a/ui/StatusQ/src/StatusQ/Popups/StatusPopupMenu.qml b/ui/StatusQ/src/StatusQ/Popups/StatusPopupMenu.qml index 050325691c..25187136dc 100644 --- a/ui/StatusQ/src/StatusQ/Popups/StatusPopupMenu.qml +++ b/ui/StatusQ/src/StatusQ/Popups/StatusPopupMenu.qml @@ -16,8 +16,15 @@ Menu { property int menuItemCount: 0 property var subMenuItemIcons: [] + property var openHandler property var closeHandler + onOpened: { + if (typeof openHandler === "function") { + openHandler() + } + } + onClosed: { if (typeof closeHandler === "function") { closeHandler()