mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
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.
This commit is contained in:
parent
7a5dbbc6c5
commit
eb116a741e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue