uifw/AvKon/src/AknTextSettingPage.cpp
branchRCL_3
changeset 13 a8834a2e9a96
parent 7 08e69e956a8c
child 15 c52421ed5f07
--- a/uifw/AvKon/src/AknTextSettingPage.cpp	Tue May 25 12:58:19 2010 +0300
+++ b/uifw/AvKon/src/AknTextSettingPage.cpp	Wed Jun 09 09:58:37 2010 +0300
@@ -411,7 +411,14 @@
 	// Construct an appropriate control context for the contained editor areas.
 	// Context produced is owned by CAknSettingPage. 
     SetEditedItemFrameIID( KAknsIIDQsnFrInput, KAknsIIDQsnFrInputCenter );
-	TextControl()->ScrollBarFrame()->VerticalScrollBar()->SetMopParent(this);
+    
+    // ScrollBarFrame always exists in this phase
+    CEikScrollBar* sb = editor->ScrollBarFrame()->VerticalScrollBar();
+    if ( sb )
+        {
+        sb->SetMopParent( this );
+        sb->MakeVisible( ETrue );
+        }
 	}
 
 /**