Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
model: widgetExplorer.filterModel
delegate: PlasmaComponents.MenuItem {
text: display
- separator: model["separator"] ? model["separator"] : false
- onClicked: {
+ onTriggered: {
list.contentX = 0
list.contentY = 0
var item = widgetExplorer.filterModel.get(index)
delegate: PlasmaComponents.MenuItem {
icon: modelData.icon
text: modelData.text
- separator: modelData.separator
- onClicked: modelData.trigger()
+ onTriggered: modelData.trigger()
Component.onCompleted: {
parent = getWidgetsDialog
}