Commit ce3c2435 authored by Méven Car's avatar Méven Car Committed by Elvis Angelaccio
Browse files

ContextMenu: Allow plugins submenus to react to Shift modifiers

In 9e4642d4 support was added for the
NewFileMenu.
This adds support for the Plugins submenu provided they relay their
parentWidget to their own menus.

BUG: 425997
parent ac97d988
Pipeline #43312 passed with stage
in 6 minutes and 52 seconds
......@@ -224,7 +224,7 @@ void DolphinContextMenu::openItemContextMenu()
const KFileItemListProperties& selectedItemsProps = selectedItemsProperties();
KFileItemActions fileItemActions;
fileItemActions.setParentWidget(m_mainWindow);
fileItemActions.setParentWidget(this);
fileItemActions.setItemListProperties(selectedItemsProps);
if (m_selectedItems.count() == 1) {
......
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