From c21045d7d1b6c14f15b256f6134dbe68c7c620eb Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Fri, 1 Jan 2016 14:31:22 +0000 Subject: [PATCH] AddBusinessOrganisation was using GeneralOrganisationList not BusinessOrganisationList. --- source/contacteditor/frmContactEditor-Business.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.39.5