fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/src/AknFepUiAvkonImpl.cpp
branchRCL_3
changeset 11 c8fb4cf7b3ae
parent 6 6ceef9a83b1a
child 12 5e18d8c489d6
equal deleted inserted replaced
9:e6a39382bb9c 11:c8fb4cf7b3ae
   493     if (iCba->ButtonGroup()->CommandId(aPosition) != aCommandId)
   493     if (iCba->ButtonGroup()->CommandId(aPosition) != aCommandId)
   494         {
   494         {
   495         HBufC* buf = CEikonEnv::Static()->AllocReadResourceLC(aTextResId);
   495         HBufC* buf = CEikonEnv::Static()->AllocReadResourceLC(aTextResId);
   496         if( buf->Des().Length() > 1 && EMiddleSoftkeyIndex != aPosition )
   496         if( buf->Des().Length() > 1 && EMiddleSoftkeyIndex != aPosition )
   497             {
   497             {
   498             iCba->SetCommandL(aPosition, aCommandId, buf->Des().Mid(1));                    
   498             iCba->SetCommandL(aPosition, aCommandId, buf->Des().Mid(1));  
       
   499             CEikCba *eikcba = static_cast<CEikCba*>( iCba->ButtonGroup() );
       
   500             eikcba->EnableItemSpecificSoftkey( EFalse );                             
   499             }
   501             }
   500         else
   502         else
   501             {           
   503             {           
   502             iCba->SetCommandL(aPosition, aCommandId, *buf);
   504             iCba->SetCommandL(aPosition, aCommandId, *buf);
   503             }
   505             }