effects/overview: only show "Delete desktop" button with >1 desktop
It doesn't make sense to let the user try to delete their only desktop.
This commit is contained in:
parent
ca58ee875f
commit
6d7d8ea699
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ Item {
|
|||
|
||||
Loader {
|
||||
LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
|
||||
active: hoverHandler.hovered
|
||||
active: hoverHandler.hovered && desktopRepeater.count > 1
|
||||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
sourceComponent: PC3.Button {
|
||||
|
|
Loading…
Reference in a new issue