--- a/phonebookui/Phonebook2/UIControls/src/CPbk2NamesListReadyState.cpp Tue May 25 12:26:45 2010 +0300
+++ b/phonebookui/Phonebook2/UIControls/src/CPbk2NamesListReadyState.cpp Wed Jun 09 09:26:27 2010 +0300
@@ -935,16 +935,17 @@
iAdaptiveSearchGridFiller->InvalidateAdaptiveSearchGrid();
}
}
+
+ if ( iFindDelay->IsActive() )
+ {
+ iFindDelay->Cancel();
+ }
//if aParam is ETrue, it means that event came from adaptive search, which means
//we do not want to delay filtering
if ( ( !aParam ) &&
( iFindDelay ) &&
( NumberOfContacts() >= KFindDelayThresholdContacts ) )
{
- if ( iFindDelay->IsActive() )
- {
- iFindDelay->Cancel();
- }
iFindDelay->After( TTimeIntervalMicroSeconds32( KFindDelayTime ) );
}
else
@@ -2333,15 +2334,7 @@
return;
}
- iAdaptiveSearchGridFiller->StopFilling();
-
- if( aClearCache )
- {
- iAdaptiveSearchGridFiller->ClearCache();
- }
-
-
- iAdaptiveSearchGridFiller->StartFilling( iViewStack, FindTextL() );
+ iAdaptiveSearchGridFiller->StartFillingL( iViewStack, FindTextL(), aClearCache );
}
/**