equal
deleted
inserted
replaced
559 } |
559 } |
560 else{ |
560 else{ |
561 newIndex = 0; |
561 newIndex = 0; |
562 } |
562 } |
563 } |
563 } |
564 break; |
564 else if(newIndex > 0) { |
|
565 //the item is in buffer and the looping is not needed |
|
566 if(!((HbDatePickerContainer*)(d->mContainer))->isLoopingNeeded()){ |
|
567 newIndex = 0; |
|
568 } |
|
569 } |
|
570 |
|
571 //no change newIndex = 0 |
|
572 break; |
565 } |
573 } |
|
574 |
566 case EnsureVisible: |
575 case EnsureVisible: |
567 case PositionAtTop: |
576 case PositionAtTop: |
568 case PositionAtBottom: |
577 case PositionAtBottom: |
569 default: { |
578 default: { |
570 } |
579 } |