Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 171346 | Differences between
and this patch

Collapse All | Expand All

(-)branches/KDE/3.5/kdepim/kmail/customtemplates.cpp (-2 / +3 lines)
Lines 300-308 Link Here
300
  if ( mCurrentItem ) {
300
  if ( mCurrentItem ) {
301
    // mCurrentItem->setText( 0, indexToType( index ) );
301
    // mCurrentItem->setText( 0, indexToType( index ) );
302
    CustomTemplateItem *vitem = mItemList[ mCurrentItem->text( 1 ) ];
302
    CustomTemplateItem *vitem = mItemList[ mCurrentItem->text( 1 ) ];
303
    if ( vitem ) {
303
    if ( !vitem ) {
304
      vitem->mType = static_cast<Type>(index);
304
      return;
305
    }
305
    }
306
    vitem->mType = static_cast<Type>(index);
306
    switch ( vitem->mType ) {
307
    switch ( vitem->mType ) {
307
    case TReply:
308
    case TReply:
308
      mCurrentItem->setPixmap( 0, mReplyPix );
309
      mCurrentItem->setPixmap( 0, mReplyPix );

Return to bug 171346