diff options
| author | oioi 555 <[email protected]> | 2022-05-02 20:25:24 +0000 |
|---|---|---|
| committer | Nate Graham <[email protected]> | 2022-05-02 20:25:24 +0000 |
| commit | 9b5f56980bc4d2f399a6b828c94b23f3626c9d21 (patch) | |
| tree | 859af403dc1044e0c62159a6a9de825a4cc13e21 /src/settings/contextmenu/contextmenusettingspage.cpp | |
| parent | e148329393c749cd20153bda5b1873f5b93bb6f2 (diff) | |
Re-add "Open Terminal Here" feature
This is equivalent to the "Open Terminal Here" feature that existed until Version 20.12.
If the user has selected folders, replace "Open Terminal" in the context menu with "Open Terminal Here".
When more than 5 folders are selected, a modal window will ask the user if they are sure they want to
open all 6 or more terminal windows.
In Detail View, users can also select a file,
which will open a terminal at the location of that file.
BUG: 452637
FIXED-IN: 22.08
Diffstat (limited to 'src/settings/contextmenu/contextmenusettingspage.cpp')
| -rw-r--r-- | src/settings/contextmenu/contextmenusettingspage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings/contextmenu/contextmenusettingspage.cpp b/src/settings/contextmenu/contextmenusettingspage.cpp index cec1f9649..97bb39ff0 100644 --- a/src/settings/contextmenu/contextmenusettingspage.cpp +++ b/src/settings/contextmenu/contextmenusettingspage.cpp @@ -127,7 +127,7 @@ bool ContextMenuSettingsPage::entryVisible(const QString& id) return ContextMenuSettings::showCopyLocation(); } else if (id == "duplicate") { return ContextMenuSettings::showDuplicateHere(); - } else if (id == "open_terminal") { + } else if (id == "open_terminal_here") { return ContextMenuSettings::showOpenTerminal(); } return false; @@ -149,7 +149,7 @@ void ContextMenuSettingsPage::setEntryVisible(const QString& id, bool visible) ContextMenuSettings::setShowCopyLocation(visible); } else if (id == "duplicate") { ContextMenuSettings::setShowDuplicateHere(visible); - } else if (id == "open_terminal") { + } else if (id == "open_terminal_here") { ContextMenuSettings::setShowOpenTerminal(visible); } } |
