-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index 37e3a54..d14ac51 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp @@ -648,6 +648,7 @@ void ContactEditor::defaultEmailChanged(int i){ qDebug("defaultEmailChanged"); - int index = cmbChooserField1->currentItem(); - slChooserValues[index] = cmbDefaultEmail->text(i); + // was sollte das ? (se) +// int index = cmbChooserField1->currentItem(); +// slChooserValues[index] = cmbDefaultEmail->text(i); defaultEmail = cmbDefaultEmail->text(i); @@ -900,5 +901,4 @@ void ContactEditor::slotCountryChange( const QString &textChanged ) { void ContactEditor::slotCmbChooser1Change( int index ) { qWarning("ContactEditor::slotCmbChooser1Change( %d )", index); - if ( !cmbChooserChange( cmbChooserField1->currentItem(), txtChooserField1, 1) ){ @@ -1484,4 +1484,5 @@ void ContactEditor::updateDatePicker() void ContactEditor::saveEntry() { + if ( useFullName ) { txtFirstName->setText( parseName( txtFullName->text(), NAME_F ) ); |