equal
deleted
inserted
replaced
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 } |