@@ -158,7 +158,7 @@ Item {
158158 gapToEndPhase,
159159 carousel.drawBuffer)
160160
161− if (Math.abs(x - contentX) < 1) {
161+ if (Math.abs(x - contentX) < 1 && delegateItem !== undefined) {
162162 /* We're clicking the selected item and
163163 we're in the neighbourhood of radius 1 pixel from it.
164164 Let's emit the clicked signal. */
@@ -182,7 +182,7 @@ Item {
182182 gapToEndPhase,
183183 carousel.drawBuffer);
184184
185− if (Math.abs(x - contentX) < 1) {
185+ if (Math.abs(x - contentX) < 1 && delegateItem !== undefined) {
186186 /* We're pressAndHold the selected item and
187187 we're in the neighbourhood of radius 1 pixel from it.
188188 Let's emit the pressAndHold signal. */