┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.cpp
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2018-05-20 23:24:43 +0200
committerElvis Angelaccio <[email protected]>2018-05-20 23:24:43 +0200
commiteb116a741ec70dad2dd68ccdbecd4fb8166e56bf (patch)
tree3f99d6112f7ddbf53b2ca7d7a0a2af0434c875ef /src/dolphincontextmenu.cpp
parent7a5dbbc6c584ca456b6f2cdc927513a78b382f36 (diff)
Bring back 'New Window' action in viewport context menu
This fixes a regression introduced by ec12391a1b. We don't use anymore the custom `new_window` action, but we use the standard `file_new` action instead.
Diffstat (limited to 'src/dolphincontextmenu.cpp')
-rw-r--r--src/dolphincontextmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
index f4d184a27..a6e465f2a 100644
--- a/src/dolphincontextmenu.cpp
+++ b/src/dolphincontextmenu.cpp
@@ -347,7 +347,7 @@ void DolphinContextMenu::openViewportContextMenu()
// Insert 'New Window' and 'New Tab' entries. Don't use "open_in_new_window" and
// "open_in_new_tab" here, as the current selection should get ignored.
- addAction(m_mainWindow->actionCollection()->action(QStringLiteral("new_window")));
+ addAction(m_mainWindow->actionCollection()->action(QStringLiteral("file_new")));
addAction(m_mainWindow->actionCollection()->action(QStringLiteral("new_tab")));
// Insert 'Add to Places' entry if exactly one item is selected