diff options
| author | Eric Armbruster <[email protected]> | 2023-09-06 06:34:13 +0200 |
|---|---|---|
| committer | Eric Armbruster <[email protected]> | 2023-09-09 15:45:26 +0000 |
| commit | a85863befd616fe86669ac363d74fa7f466ca523 (patch) | |
| tree | 3f8a87f6a3b13bb935e0332679922a0ce17a76f7 /src/dolphincontextmenu.cpp | |
| parent | f900801540af7d8c54b75ba7476ebed05529aa59 (diff) | |
Add open in split view action
This action is shown only if a single folder is selected. The action
opens the selected folder in the inactive split view (and opens the
split view if necessary).
FEATURE: 465500
Diffstat (limited to 'src/dolphincontextmenu.cpp')
| -rw-r--r-- | src/dolphincontextmenu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 83329dd71..4dc54946f 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -165,6 +165,10 @@ void DolphinContextMenu::addDirectoryItemContextMenu() addAction(m_mainWindow->actionCollection()->action(QStringLiteral("open_in_new_window"))); } + if (ContextMenuSettings::showOpenInSplitView()) { + addAction(m_mainWindow->actionCollection()->action(QStringLiteral("open_in_split_view"))); + } + // Insert 'Open With' entries addOpenWithActions(); |
