# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1272374729 -10800 # Node ID 67c4a6333a5940df6d351159b35152b5990194a4 # Parent 91bbff48ea9cee7b0437fa74d4c329346e86b7df Revision: 201015 Kit: 201017 diff -r 91bbff48ea9c -r 67c4a6333a59 csxhelp/src/CSXHHtmlTopicView.cpp --- a/csxhelp/src/CSXHHtmlTopicView.cpp Wed Mar 31 21:16:13 2010 +0300 +++ b/csxhelp/src/CSXHHtmlTopicView.cpp Tue Apr 27 16:25:29 2010 +0300 @@ -42,7 +42,7 @@ #include #include #include -TInt CCSXHHtmlTopicView::iFontSize = TBrCtlDefs::EFontSizeLevelNormal; +TInt CCSXHHtmlTopicView::iFontSize = TBrCtlDefs::EFontSizeLevelLarger; CCSXHHtmlTopicView* CCSXHHtmlTopicView::NewL(const TUid& aUid, const TInt& aFlags,const TRect& aRect) @@ -253,6 +253,9 @@ { iBCContainer->MakeVisible(EFalse); TRAP_IGNORE(iBCContainer->CancelFetchL()); + // FEP causes crash if it still hold the observer. + // fix as FEP suggested. + iBCContainer->SetFocus( EFalse ); AppUi()->RemoveFromStack(iBCContainer); } } @@ -306,7 +309,7 @@ { TInt CurrentFontSize = iBCContainer->GetCurrentValueL(TBrCtlDefs::ESettingsFontSize); - if(CurrentFontSize == TBrCtlDefs::EFontSizeLevelAllSmall) + if(CurrentFontSize == TBrCtlDefs::EFontSizeLevelNormal) { aMenuPane->SetItemDimmed(ECsHelpCmdFontSmall,ETrue); }