on xenial help sign in
Simpler
commit497d37ab5192a278687537c4c00da75c4a0fb2fa authorAlbert Astals Cid <albert.astals@canonical.com> dateTue 7 Mar 2017, 11:43 (10 years ago) parent0b49051
1 file changed+2−2
qml/Panel/Panel.qml+2−2
qml/Panel/Panel.qml+2−2
@@ -292,8 +292,8 @@ Item {
292292 pageDelegate: PanelMenuPage {
293293 property bool isCurrent: modelIndex == __applicationMenus.currentMenuIndexChanged
294294 onIsCurrentChanged: {
295− if (isCurrent && menuModel && submenuIndex) {
296− menuModel.aboutToShow(submenuIndex);
295+ if (isCurrent && menuModel) {
296+ menuModel.aboutToShow(modelIndex);
297297 }
298298 }
299299