on xenial help sign in
prevent closing a workspace if it's the last one
7e68062Michael Zanetti
qml/Stage/Spread/Workspaces.qml+1
@@ -271,6 +271,7 @@ Item {
271 hoverEnabled: true
271 hoverEnabled: true
272 height: units.gu(4)
272 height: units.gu(4)
273 width: height
273 width: height
274+ visible: listView.count > 1
274
275
275 onClicked: {
276 onClicked: {
276 model.workspace.unassign();
277 model.workspace.unassign();