commonuis/CommonDialogs/src/CAknCommonDialogsPopupList.cpp
branchRCL_3
changeset 20 d48ab3b357f1
parent 19 aecbbf00d063
--- a/commonuis/CommonDialogs/src/CAknCommonDialogsPopupList.cpp	Tue Aug 31 15:28:30 2010 +0300
+++ b/commonuis/CommonDialogs/src/CAknCommonDialogsPopupList.cpp	Wed Sep 01 12:16:19 2010 +0100
@@ -379,6 +379,16 @@
     UpdateItemsAndRedrawPopupL( focus, topIndex );
     }
 
+void CAknCommonDialogsPopupList::HandleFileSystemChangedL( const MDesCArray* aItemArray )
+    {
+    TInt focus = iListBox->CurrentItemIndex();
+    TInt topIndex = iListBox->View()->TopItemIndex();
+    if ( focus < 0 )
+        {
+        focus = aItemArray->MdcaCount() - 1;
+        }
+    UpdateItemsAndRedrawPopupL( focus, topIndex );
+    }
 // -----------------------------------------------------------------------------
 // CAknCommonDialogsPopupList::HandleListBoxHighlightChangedL
 //