added contextual menu to dropdown button

pull/1/head
Johan Smith Agudelo Rodriguez 8 years ago
parent 2de44e3fd0
commit 763e1810c7

@ -307,9 +307,21 @@ PlasmaCore.FrameSvgItem {
Layout.preferredWidth: units.iconSizes.medium
Layout.preferredHeight: parent.height
PlasmaComponents.Menu {
id: menu
visualParent: addDock
PlasmaComponents.MenuItem {
text: i18n("Add and copy the current launchers")
onClicked: {
}
}
}
MouseArea {
anchors.fill: parent
onClicked: {
menu.open()
}
}
}

Loading…
Cancel
Save