From: Luca Beltrame Date: Wed, 4 Sep 2019 09:36:42 +0000 (+0200) Subject: Unbreak context menu showing when right clicking on an empty area X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/d23fba320f6235a067bf6a7a8efa60c4920384d4?ds=inline 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 --- diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 7e6a45171..056da4d8d 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -383,6 +383,8 @@ void DolphinContextMenu::openViewportContextMenu() addAction(propertiesAction); addShowMenuBarAction(); + + exec(m_pos); } void DolphinContextMenu::insertDefaultItemActions(const KFileItemListProperties& properties)