on xenial help sign in
[sidestage] hide side stage if all side stage apps are closed
2ad85eeGerry Boland
qml/Shell.qml+9
@@ -355,6 +355,15 @@ FocusScope {
355 width: units.gu(40)
355 width: units.gu(40)
356 height: stages.height
356 height: stages.height
357 handleExpanded: sideStageRevealer.pressed
357 handleExpanded: sideStageRevealer.pressed
358+
359+ Connections {
360+ target: sideStage.applications
361+ onCountChanged: {
362+ if (sideStage.applications.count == 0 && sideStage.shown) { // if all SS app closed, hide side stage
363+ sideStage.hide();
364+ }
365+ }
366+ }
358 }
367 }
359
368
360 Revealer {
369 Revealer {