uifw/AvKon/src/AknAdaptiveSearch.cpp
branchRCL_3
changeset 59 978afdc0236f
parent 56 d48ab3b357f1
child 72 a5e7a4f63858
--- a/uifw/AvKon/src/AknAdaptiveSearch.cpp	Wed Sep 01 12:16:19 2010 +0100
+++ b/uifw/AvKon/src/AknAdaptiveSearch.cpp	Tue Sep 14 21:48:24 2010 +0300
@@ -245,9 +245,10 @@
 		{
 		//hide grid
         HideAdaptiveSearchGridL();
-		iSearchField->MakeVisible( ETrue );	
-		iSearchField->SetFocus( ETrue );	
-	
+        if( iSearchField->IsVisible() )
+        	{
+            iSearchField->SetFocus( ETrue );
+        	}
 		}
     else if( aCommand == CAknAdaptiveSearchGrid::EDeleteLastCharPressed )
 		{