Commit 31fed95b authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[ListItemBase] Use section instead of disabled menu item

It's meant to be a section so be one.

Differential Revision: https://phabricator.kde.org/D7723
parent 66cf1cac
......@@ -291,7 +291,7 @@ PlasmaComponents.ListItem {
var isMultiplePorts = (1 < PulseObject.ports.length);
var menuItem = newMenuItem();
menuItem.text = i18nc("Heading for a list of ports of a device (for example built-in laptop speakers or a plug for headphones)", "Ports");
menuItem.enabled = false;
menuItem.section = true;
contextMenu.addMenuItem(menuItem);
for (var i = 0; i < PulseObject.ports.length; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment