From d23fba320f6235a067bf6a7a8efa60c4920384d4 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Wed, 4 Sep 2019 11:36:42 +0200 Subject: [PATCH] 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 --- src/dolphincontextmenu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 7e6a45171f..056da4d8df 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)