@@ -33,6 +33,8 @@ UbuntuShape {
33 // if they don't fit when growing right
33 // if they don't fit when growing right
34 property bool substractWidth: false
34 property bool substractWidth: false
36+ property bool selectFirstOnCountChange: true
36 property real desiredX
38 property real desiredX
38 var dummy = visible; // force recalc when shown/hidden
40 var dummy = visible; // force recalc when shown/hidden
@@ -286,7 +288,7 @@ UbuntuShape {
286 id: repeater
288 id: repeater
288 onCountChanged: {
290 onCountChanged: {
289− if (!d.currentItem && count > 0) {
291+ if (root.selectFirstOnCountChange && !d.currentItem && count > 0) {
290 root.selectFirstIndex();
292 root.selectFirstIndex();