Step 1 to solve bug 102001

Step 2 will be to make sure the To: lineedit has focus

Step 3 to implement a feature that allos the To; to be inserted
before the bcc instead of after.


svn path=/trunk/KDE/kdepim/; revision=419250
wilder-work
Matt Douhan 21 years ago
parent 8376771004
commit a08a6bbf0e
  1. 10
      recipientseditor.cpp

@ -349,12 +349,16 @@ RecipientLine *RecipientsView::addLine()
SLOT( slotTypeModified( RecipientLine * ) ) );
if ( mLines.last() ) {
if ( mLines.count() == 1 ) {
if ( mLines.count() == 1 ) {
if ( GlobalSettings::secondRecipientTypeDefault() ==
GlobalSettings::EnumSecondRecipientTypeDefault::To ) {
GlobalSettings::EnumSecondRecipientTypeDefault::To ) {
line->setRecipientType( Recipient::To );
} else {
line->setRecipientType( Recipient::Cc );
if ( mLines.last()->recipientType() == Recipient::Bcc ) {
line->setRecipientType( Recipient::To );
} else {
line->setRecipientType( Recipient::Cc );
}
}
} else {
line->setRecipientType( mLines.last()->recipientType() );

Loading…
Cancel
Save