on xenial help sign in
[sidestage] hide side stage if all side stage apps are closed
e2245deGerry Boland
qml/Shell.qml+9
@@ -342,6 +342,15 @@ FocusScope {
342 width: units.gu(40)
342 width: units.gu(40)
343 height: stages.height
343 height: stages.height
344 handleExpanded: sideStageRevealer.pressed
344 handleExpanded: sideStageRevealer.pressed
345+
346+ Connections {
347+ target: sideStage.applications
348+ onCountChanged: {
349+ if (sideStage.applications.count == 0 && sideStage.shown) { // if all SS app closed, hide side stage
350+ sideStage.hide();
351+ }
352+ }
353+ }
345 }
354 }
346
355
347 Revealer {
356 Revealer {