Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Merge branch 'master' of ssh://gelforn.xestia.co.uk/scmrepos/xestiaab
[xestiaab/.git] / source / contacteditor / frmContactEditor.cpp
index 22de535..b5ef96e 100644 (file)
@@ -159,6 +159,12 @@ void frmContactEditor::SetupContact( wxString AccountName )
     
 }
 
+void frmContactEditor::SetupAccountData(bool UnsupportedAccount){
+       
+       boolUnsupportedAccount = UnsupportedAccount;
+       
+}
+
 int frmContactEditor::GetLastInt(std::map<int, wxString> *MapData){
     
        /*
@@ -486,8 +492,16 @@ void frmContactEditor::ProcessSaveDataStrProc( wxString PropName,
     
        strIter = MapData->find(intIterVal);
     
+       if (strIter == MapData->end()){
+               
+               // Ignore this section and return.
+               
+               return;
+               
+       }
+                                                     
        wxString strPropValue;
-    
+
        if (strIter->first == intIterVal){
         
                strPropValue = strIter->second;
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