fix: open in new window option visible

This commit is contained in:
kate 2022-01-01 12:22:06 +08:00
parent 7998c3d94f
commit 6f7c03b9f5

View file

@ -1950,7 +1950,7 @@ void FolderModel::updateActions()
}
if (QAction *openInNewWindow = m_actionCollection.action("openInNewWindow")) {
openInNewWindow->setVisible(hasDir);
openInNewWindow->setVisible(hasDir && !isTrash);
}
}