diff -r 0aa5fbdfbc30 -r 3d340a0166ff psln/PslnFramework/src/PslnFWBaseView.cpp --- a/psln/PslnFramework/src/PslnFWBaseView.cpp Tue Apr 27 16:55:05 2010 +0300 +++ b/psln/PslnFramework/src/PslnFWBaseView.cpp Tue May 11 16:27:42 2010 +0300 @@ -187,20 +187,27 @@ if ( appUi ) { CEikStatusPane* sp = appUi->StatusPane(); - iNaviControlContainer = static_cast - ( sp->ControlL( TUid::Uid( EEikStatusPaneUidNavi ) ) ); + if ( sp ) + { + iNaviControlContainer = static_cast + ( sp->ControlL( TUid::Uid( EEikStatusPaneUidNavi ) ) ); + } } } - if ( iNaviPaneContext && ( aTabLocation > 0 ) ) + + if ( iNaviControlContainer ) { - CAknTabGroup* tabGrp = static_cast - ( iNaviPaneContext->DecoratedControl() ); - tabGrp->SetActiveTabByIndex( aTabLocation ); - iNaviControlContainer->PushL( *iNaviPaneContext ); - } - else - { - iNaviControlContainer->PushDefaultL(); + if ( iNaviPaneContext && ( aTabLocation > 0 ) ) + { + CAknTabGroup* tabGrp = static_cast + ( iNaviPaneContext->DecoratedControl() ); + tabGrp->SetActiveTabByIndex( aTabLocation ); + iNaviControlContainer->PushL( *iNaviPaneContext ); + } + else + { + iNaviControlContainer->PushDefaultL(); + } } PSLN_TRACE_DEBUG("CPslnFWBaseView::SetNaviPaneL w/ param END"); }