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 ); |