fix(trash): paste option visible

This commit is contained in:
kateleet 2021-12-28 17:15:18 +08:00
parent 46bd8a1215
commit 7c0188656b

View file

@ -1867,6 +1867,7 @@ void FolderModel::updateActions()
} }
paste->setEnabled(enable); paste->setEnabled(enable);
paste->setVisible(!isTrash);
} }
if (QAction *rename = m_actionCollection.action(QStringLiteral("rename"))) { if (QAction *rename = m_actionCollection.action(QStringLiteral("rename"))) {