on xenial help sign in
Add aboutToShow for the touch menus
commit444646a3cdae47a332a8c4b7c46f1cf803001073 authorAlbert Astals Cid <albert.astals@canonical.com> dateTue 7 Mar 2017, 11:17 (10 years ago) parent392886d
1 file changed+1
qml/Panel/PanelMenuPage.qml+1
qml/Panel/PanelMenuPage.qml+1
@@ -192,6 +192,7 @@ PageStack {
192192 if (item.hasOwnProperty("clicked")) {
193193 item.clicked.connect(function() {
194194 if (model.hasSubmenu) {
195+ page.menuModel.aboutToShow(modelIndex);
195196 root.push(pageComponent, {
196197 "isSubmenu": true,
197198 "title": model.label.replace(/_|&/, ""),