@@ -37,28 +37,6 @@ Indicators.BaseMenuItem {
38 sourceComponent: loadMessage(actionsDescription);
38 sourceComponent: loadMessage(actionsDescription);
40− // Binding all properties for the item, to make sure that any change in the
41− // property will be propagated to the contents.item at any time
43− target: contents.item
44− property: "menuSelected"
46− when: (contents.status == Loader.Ready)
50− target: contents.item
53− when: (contents.status == Loader.Ready)
57− target: contents.item ? contents.item : null
58− onSelectMenu: selectMenu()
59− onDeselectMenu: deselectMenu()
62 Component {
40 Component {
63 id: simpleTextMessage
41 id: simpleTextMessage
64 SimpleTextMessage {
42 SimpleTextMessage {
@@ -76,6 +54,10 @@ Indicators.BaseMenuItem {
76 onDismiss: {
54 onDismiss: {
77 menuItem.model.activate(modelIndex, false);
55 menuItem.model.activate(modelIndex, false);
58+ menuSelected: menuItem.menuSelected
59+ onSelectMenu: menuItem.selectMenu()
60+ onDeselectMenu: menuItem.deselectMenu()
81 Component {
63 Component {
@@ -107,6 +89,10 @@ Indicators.BaseMenuItem {
107 onReply: {
89 onReply: {
108 replyAction.activate(value);
90 replyAction.activate(value);
93+ menuSelected: menuItem.menuSelected
94+ onSelectMenu: menuItem.selectMenu()
95+ onDeselectMenu: menuItem.deselectMenu()
112 Component {
98 Component {
@@ -149,6 +135,10 @@ Indicators.BaseMenuItem {
149 onReply: {
135 onReply: {
150 replyAction.activate(value);
136 replyAction.activate(value);
139+ menuSelected: menuItem.menuSelected
140+ onSelectMenu: menuItem.selectMenu()
141+ onDeselectMenu: menuItem.deselectMenu()