Revision: 201015 RCL_3 PDK_3.0.i
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 27 Apr 2010 16:25:29 +0300
branchRCL_3
changeset 9 67c4a6333a59
parent 8 91bbff48ea9c
child 11 326673dff2bf
Revision: 201015 Kit: 201017
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 <AiwCommon.h>
 #include <AiwServiceHandler.h>
 #include <AknGlobalNote.h>
-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);
             }