03-07-2013 08:40 AM
Hi,
I have this code for adding action item to my page:
...
actions: [
ActionItem {
title: "Action 1"
ActionBar.placement: ActionBarPlacement.OnBar
onTriggered: {
myLabel.text = "Action 1 selected!"
}
}
]
....
} // end of PageIn the QML preview, just one action item is shown as above -- but when I run the application, there are two duplicates of the above action item. Does anyone have any idea why? Thanks.
Solved! Go to Solution.
03-07-2013 08:47 AM