--- a/logsui/AppSrc/CLogsBaseView.cpp Thu Jul 15 18:22:55 2010 +0300
+++ b/logsui/AppSrc/CLogsBaseView.cpp Thu Aug 19 09:41:07 2010 +0300
@@ -587,8 +587,18 @@
aViewIdToBeDeactivated.iAppUid != TUid::Uid(KLogsAppUID3) )
{
// Reset array, will call StateChangedL with state EStateArrayReseted and update the listbox.
- CurrentModel()->DoDeactivate( MLogsModel::ESkipClearing,
- MLogsModel::EResetOnlyArray );
+ if ( (aNewlyActivatedViewId.iViewUid.iUid == EStmDialledListViewId )||
+ (aNewlyActivatedViewId.iViewUid.iUid == EStmMissedListViewId )||
+ (aNewlyActivatedViewId.iViewUid.iUid == EStmReceivedListViewId ))
+ {
+ CurrentModel()->DoDeactivate( MLogsModel::ESkipClearing,
+ MLogsModel::EKeepDBConnection );
+ }
+ else
+ {
+ CurrentModel()->DoDeactivate( MLogsModel::ESkipClearing,
+ MLogsModel::EResetOnlyArray );
+ }
DrawComponents();
TRAP(err, CancelSaveToPbkL());
}