diff --git a/model/foldermodel.cpp b/model/foldermodel.cpp index a3cc779..5512e68 100644 --- a/model/foldermodel.cpp +++ b/model/foldermodel.cpp @@ -1950,7 +1950,7 @@ void FolderModel::updateActions() } if (QAction *openInNewWindow = m_actionCollection.action("openInNewWindow")) { - openInNewWindow->setVisible(hasDir); + openInNewWindow->setVisible(hasDir && !isTrash); } }