filemanager/App/src/CFileManagerFileListContainer.cpp
branchRCL_3
changeset 10 875fd7f60fdf
parent 7 8812206c49a0
child 14 efe289f793e7
--- a/filemanager/App/src/CFileManagerFileListContainer.cpp	Wed Mar 31 21:15:58 2010 +0300
+++ b/filemanager/App/src/CFileManagerFileListContainer.cpp	Wed Apr 14 15:47:10 2010 +0300
@@ -875,5 +875,18 @@
     aIndex = ListToSearchFieldIndex( aIndex );
     CFileManagerContainerBase::ListBoxDeselectItem( aIndex );
     }
-
+	
+// -----------------------------------------------------------------------------
+// CFileManagerFileListContainer::SearchFieldToListBoxIndex
+// 
+// -----------------------------------------------------------------------------
+//
+TInt CFileManagerFileListContainer::SearchFieldToListBoxIndex( TInt aIndex )
+    {
+    if ( !iSearchField || !iSearchField->IsVisible() )
+       {
+       return 0;
+       }
+    return SearchFieldToListIndex( aIndex );
+    }
 //  End of File