mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-17 15:31:20 +00:00
Unbreak context menu showing when right clicking on an empty area
In D22149, a request was made to remove a variable assignment ("action", on line 389 in src/dolphincontextmenu.cpp. However the change went too far, and it actually removed the exec() call, not just the assignment which should have stayed. This resulted in the context menu not being shown at all. Adding back exec(m_pos) at least allows for the context menu to show. CCMAIL: nate@kde.org
This commit is contained in:
parent
3df68fb667
commit
d23fba320f
|
@ -383,6 +383,8 @@ void DolphinContextMenu::openViewportContextMenu()
|
||||||
addAction(propertiesAction);
|
addAction(propertiesAction);
|
||||||
|
|
||||||
addShowMenuBarAction();
|
addShowMenuBarAction();
|
||||||
|
|
||||||
|
exec(m_pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DolphinContextMenu::insertDefaultItemActions(const KFileItemListProperties& properties)
|
void DolphinContextMenu::insertDefaultItemActions(const KFileItemListProperties& properties)
|
||||||
|
|
Loading…
Reference in a new issue