fix: empty trash button visible
This commit is contained in:
parent
a44856a2fb
commit
ce716acdb7
1 changed files with 2 additions and 0 deletions
|
@ -301,6 +301,8 @@ Item {
|
||||||
font.pointSize: 10
|
font.pointSize: 10
|
||||||
onClicked: dirModel.emptyTrash()
|
onClicked: dirModel.emptyTrash()
|
||||||
visible: dirModel.url === "trash:///"
|
visible: dirModel.url === "trash:///"
|
||||||
|
&& _viewLoader.item
|
||||||
|
&& _viewLoader.item.count > 0
|
||||||
focusPolicy: Qt.NoFocus
|
focusPolicy: Qt.NoFocus
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue