X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor.cpp;h=02e605b993fea6a98fc5c543ca8381e3061cd7e5;hb=b04c61ea3de06d6a29d20ac4084ea7aa3ba5db12;hp=8881a2a3c4835d55358dd3ca01c28dd5ef1f6570;hpb=93c6929df835245cb6310949da1c96679d12203c;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor.cpp b/source/contacteditor/frmContactEditor.cpp index 8881a2a..02e605b 100644 --- a/source/contacteditor/frmContactEditor.cpp +++ b/source/contacteditor/frmContactEditor.cpp @@ -6072,6 +6072,10 @@ void frmContactEditor::SaveContact( wxCommandEvent& event ) FMTimer.SetFilename(FilenameFinal); FMTimer.UpdateTimestamp(); FMTimer.Start(10000, FALSE); + + wxCommandEvent reloadevent(RELOADCONTACTLIST); + reloadevent.SetString(wxSContactAccount); + wxPostEvent(this->GetParent(), reloadevent); } else { @@ -7743,7 +7747,7 @@ void frmContactEditor::UpdateDisplayAs( wxCommandEvent &event ){ } if (!txtTitle->GetValue().IsEmpty()){ - cmbDisplayAs->Append(txtTitle->GetValue() + wxT(" ") + txtSurname->GetValue() + wxT(" ") + txtForename->GetValue()); + cmbDisplayAs->Append(txtTitle->GetValue() + wxT(" ") + txtForename->GetValue() + wxT(" ") + txtSurname->GetValue()); } cmbDisplayAs->SetValue(SetValue);