prevent closing a workspace if it's the last one
commit7e68062223585b80f5ce3cd0c9baff32f8164eac
authorMichael Zanetti <michael.zanetti@canonical.com>
dateTue 21 Mar 2017, 16:15 (10 years ago)
parent07f86b2
qml/Stage/Spread/Workspaces.qml+1
@@ -271,6 +271,7 @@ Item {
271271 hoverEnabled: true
272272 height: units.gu(4)
273273 width: height
274+ visible: listView.count > 1
274275
275276 onClicked: {
276277 model.workspace.unassign();