ApplicationManager now appends newly added apps. Focus them using the focus animation
commited8da11c416d27152b91e7e63fdb9a7ab837d950
authorMichael Zanetti <michael.zanetti@canonical.com>
dateMon 30 Jun 2014, 14:58 (12 years ago)
parentdf32b40
qml/Stages/PhoneStage.qml+3−5
@@ -62,11 +62,9 @@ Item {
6262
6363 onApplicationAdded: {
6464 if (spreadView.phase > 0) {
65− spreadView.snapTo(0);
66−
67−// TODO: Enable this once a newly added app is not directly focused any more.
68−// } else {
69−// priv.switchToApp(appId)
65+ spreadView.snapTo(ApplicationManager.count - 1);
66+ } else {
67+ priv.switchToApp(appId)
7068 }
7169 }
7270 }