[effects/overview] Only show close button for closeable windows

This commit is contained in:
Ismael Asensio 2021-09-10 17:25:19 +02:00
parent 07551a4487
commit f6796ac860

View file

@ -208,7 +208,7 @@ FocusScope {
anchors.topMargin: PlasmaCore.Units.largeSpacing
implicitWidth: PlasmaCore.Units.iconSizes.medium
implicitHeight: implicitWidth
visible: hovered || hoverHandler.hovered
visible: (hovered || hoverHandler.hovered) && thumb.client.closeable
onClicked: thumb.client.closeWindow();
}