From 6f7c03b9f5d9edd17f7d1760d36f056f9f30ca7b Mon Sep 17 00:00:00 2001 From: kate Date: Sat, 1 Jan 2022 12:22:06 +0800 Subject: [PATCH] fix: open in new window option visible --- model/foldermodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }