From 7c0188656b95597e52bdafd4e78f02a29ce41cbb Mon Sep 17 00:00:00 2001 From: kateleet Date: Tue, 28 Dec 2021 17:15:18 +0800 Subject: [PATCH] fix(trash): paste option visible --- model/foldermodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/model/foldermodel.cpp b/model/foldermodel.cpp index 4bb77fe..e595fd6 100644 --- a/model/foldermodel.cpp +++ b/model/foldermodel.cpp @@ -1867,6 +1867,7 @@ void FolderModel::updateActions() } paste->setEnabled(enable); + paste->setVisible(!isTrash); } if (QAction *rename = m_actionCollection.action(QStringLiteral("rename"))) {