fix(trash): paste option visible
This commit is contained in:
parent
46bd8a1215
commit
7c0188656b
1 changed files with 1 additions and 0 deletions
|
@ -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"))) {
|
||||||
|
|
Loading…
Reference in a new issue