@@ -1002,7 +1002,7 @@ Item {
10021002 Component {
10031003 id: buttonSectionMenu;
10041004
1005− Menus.StandardMenu {
1005+ Menus.ButtonMenu {
10061006 objectName: "buttonSectionMenu"
10071007 property QtObject menuData: null
10081008 property var menuModel: menuFactory.menuModel
@@ -1014,6 +1014,7 @@ Item {
10141014 highlightWhenPressed: false
10151015 text: menuData && menuData.label || ""
10161016 foregroundColor: theme.palette.normal.backgroundText
1017+ buttonText: getExtendedProperty(extendedData, "xCanonicalExtraLabel", "")
10171018
10181019 onMenuModelChanged: {
10191020 loadAttributes();
@@ -1026,14 +1027,7 @@ Item {
10261027 menuModel.loadExtendedAttributes(menuIndex, {'x-canonical-extra-label': 'string'});
10271028 }
10281029
1029− slots: Button {
1030− objectName: "buttonSectionMenuControl"
1031− text: getExtendedProperty(extendedData, "xCanonicalExtraLabel", "")
1032−
1033− onClicked: {
1034− menuModel.activate(menuIndex);
1035− }
1036− }
1030+ onButtonClicked: menuModel.activate(menuIndex);
10371031 }
10381032 }
10391033