on xenial help sign in
reset the spreadview when we close the last app
commit039dd6641b3f92fbf98cc5c3f2b5d743f3d42dd4 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 30 Jun 2014, 23:23 (12 years ago) parentbbebd2e
1 file changed+4
qml/Stages/TabletStage.qml+4
qml/Stages/TabletStage.qml+4
@@ -121,6 +121,10 @@ Item {
121121 if (priv.sideStageAppId == appId) {
122122 priv.sideStageAppId = "";
123123 }
124+ if (ApplicationManager.count == 0) {
125+ spreadView.phase = 0;
126+ spreadView.contentX = 0;
127+ }
124128 }
125129 onApplicationAdded: {
126130 printStack()