on xenial help sign in
this is a bit clearer
22f339bAlbert Astals Cid
qml/ApplicationMenus/MenuPopup.qml+1−2
@@ -350,6 +350,7 @@ UbuntuShape {
350 });
350 });
351 } else if (popup) {
351 } else if (popup) {
352 popup.visible = true;
352 popup.visible = true;
353+ popup.item.selectFirstIndex();
353 }
354 }
354 } else {
355 } else {
355 root.unityMenuModel.activate(__ownIndex);
356 root.unityMenuModel.activate(__ownIndex);
@@ -488,8 +489,6 @@ UbuntuShape {
488 target: item
489 target: item
489 onChildActivated: childActivated();
490 onChildActivated: childActivated();
490 }
491 }
491−
492− onVisibleChanged: if (visible) { item.selectFirstIndex(); }
493 }
492 }
494 }
493 }
495 }
494 }