From: Steve Brokenshire Date: Fri, 1 Jan 2016 14:31:22 +0000 (+0000) Subject: AddBusinessOrganisation was using GeneralOrganisationList not BusinessOrganisationList. X-Git-Tag: release-0.09~110 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=c21045d7d1b6c14f15b256f6134dbe68c7c620eb;p=xestiaab%2F.git AddBusinessOrganisation was using GeneralOrganisationList not BusinessOrganisationList. --- diff --git a/source/contacteditor/frmContactEditor-Business.cpp b/source/contacteditor/frmContactEditor-Business.cpp index 81ce5cd..1ddc62d 100644 --- a/source/contacteditor/frmContactEditor-Business.cpp +++ b/source/contacteditor/frmContactEditor-Business.cpp @@ -804,8 +804,8 @@ void frmContactEditor::AddBusinessOrganisation( wxCommandEvent& event ) frmContactEditorOrganisations *frameCEOrg = new frmContactEditorOrganisations ( this ); frameCEOrg->SetEditorMode(FALSE, CE_WORK); - intResult = GetLastInt(&GeneralOrganisationsList); - frameCEOrg->SetupPointers(&GeneralOrganisationsList, + intResult = GetLastInt(&ContactEditorData.BusinessOrganisationsList); + frameCEOrg->SetupPointers(&ContactEditorData.BusinessOrganisationsList, &ContactEditorData.BusinessOrganisationsListLanguage, &ContactEditorData.BusinessOrganisationsListSortAs, &ContactEditorData.BusinessOrganisationsListAltID,