mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
ContextMenu: Allow plugins submenus to react to Shift modifiers
In 9e4642d435
support was added for the
NewFileMenu.
This adds support for the Plugins submenu provided they relay their
parentWidget to their own menus.
BUG: 425997
This commit is contained in:
parent
ac97d98866
commit
ce3c243525
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue