emailuis/emailui/src/ncscomposeview.cpp
branchRCL_3
changeset 33 da5135c61bad
parent 32 a3a1ae9acec6
child 17 8592a65ad3fb
equal deleted inserted replaced
32:a3a1ae9acec6 33:da5135c61bad
   947            	 	{
   947            	 	{
   948                 if ( AknLayoutUtils::PenEnabled() )
   948                 if ( AknLayoutUtils::PenEnabled() )
   949                     {
   949                     {
   950                     // show the toolbar
   950                     // show the toolbar
   951                     UpdateToolbarL();
   951                     UpdateToolbarL();
   952                     if ( Toolbar() && Toolbar()->ToolbarExtension() )
   952                     CAknToolbar* toolbar = Toolbar();
       
   953                     if ( toolbar )
   953                         {
   954                         {
   954                         Toolbar()->ToolbarExtension()->SetShown( ETrue );
   955                         CAknToolbarExtension* extension =
       
   956                             static_cast<CAknToolbarExtension*>(
       
   957                                 toolbar->ControlOrNull( EFsEmailUiTbCmdExpandInsert ) );
       
   958                         if ( extension )
       
   959                             {
       
   960                             extension->SetShown( ETrue );
       
   961                             }
   955                         }
   962                         }
   956                     }
   963                     }
   957                 else
   964                 else
   958                     {
   965                     {
   959                     iAttachmentAddType = MsgAttachmentUtils::EUnknown;
   966                     iAttachmentAddType = MsgAttachmentUtils::EUnknown;