Commit eb116a74 authored by Elvis Angelaccio's avatar Elvis Angelaccio

Bring back 'New Window' action in viewport context menu

This fixes a regression introduced by ec12391a.

We don't use anymore the custom `new_window` action, but we use the
standard `file_new` action instead.
parent 7a5dbbc6
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment