diff options
| author | Luca Beltrame <[email protected]> | 2019-09-04 11:36:42 +0200 |
|---|---|---|
| committer | Luca Beltrame <[email protected]> | 2019-09-04 11:36:42 +0200 |
| commit | d23fba320f6235a067bf6a7a8efa60c4920384d4 (patch) | |
| tree | 7c62db7f4ac9fa02b0a13185bedecd81c28acdaf | |
| parent | 3df68fb667a9d0df0bfe53ff762c88b9fcde28f6 (diff) | |
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: [email protected]
| -rw-r--r-- | src/dolphincontextmenu.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) |
