fix(trash): empty trash option visible
This commit is contained in:
parent
c189b0fb19
commit
df04935fbe
1 changed files with 1 additions and 4 deletions
|
@ -37,10 +37,6 @@ Item {
|
|||
mainWindow.updateSize()
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
console.log(Settings.style)
|
||||
}
|
||||
|
||||
DropArea {
|
||||
anchors.fill: parent
|
||||
enabled: true
|
||||
|
@ -176,6 +172,7 @@ Item {
|
|||
MenuItem {
|
||||
text: qsTr("Empty Trash")
|
||||
onTriggered: trash.emptyTrash()
|
||||
visible: trash.count !== 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue