@@ -118,6 +118,7 @@ Item {
118 opacity: shouldDisplay ? 1 : 0
118 opacity: shouldDisplay ? 1 : 0
120 function show() {
120 function show() {
121+ root.unityMenuModel.aboutToShow(visualItem.__ownIndex);
121 if (!__popup) {
122 if (!__popup) {
122 __popup = menuComponent.createObject(root, { objectName: visualItem.objectName + "-menu" });
123 __popup = menuComponent.createObject(root, { objectName: visualItem.objectName + "-menu" });
123 __popup.childActivated.connect(dismiss);
124 __popup.childActivated.connect(dismiss);