Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Send event to reload contact list and ensure that Display As name has right ordering.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 4 Oct 2015 14:56:53 +0000 (15:56 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 4 Oct 2015 14:56:53 +0000 (15:56 +0100)
source/contacteditor/frmContactEditor.cpp

index 8881a2a..02e605b 100644 (file)
@@ -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);
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy