--- a/uifw/AvKon/src/AknPopupField.cpp Mon Jun 21 15:57:43 2010 +0300
+++ b/uifw/AvKon/src/AknPopupField.cpp Thu Jul 15 18:56:19 2010 +0300
@@ -219,15 +219,15 @@
void CAknPopupField::SetScrollBarSelectionL()
{
TInt selection = iValue->CurrentValueIndex();
+ //iOldItemIndex should be saved as original value.
+ if ( iExtension )
+ {
+ iExtension->iOldItemIndex = selection;
+ }
if (IsInvalid()) selection = 0;
__ASSERT_DEBUG(iSelectionList != NULL, Panic(EAknPanicPopupFieldSelectionListDoesntExist));
iSelectionList->SetCurrentItemIndex(selection);
iSelectionList->View()->SelectItemL(selection);
-
- if ( iExtension )
- {
- iExtension->iOldItemIndex = iSelectionList->CurrentItemIndex();
- }
}