From: Steve Brokenshire Date: Mon, 28 Aug 2017 19:27:20 +0000 (+0100) Subject: frmContactEditor: In DeleteHomeNote, delete item from lboHomeNotes X-Git-Tag: release-0.20~32 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=ceacd8fd0f58a66fb0674419ec2f8dc0424a6955;p=xestiaab%2F.git frmContactEditor: In DeleteHomeNote, delete item from lboHomeNotes --- diff --git a/source/contacteditor/frmContactEditor-Home.cpp b/source/contacteditor/frmContactEditor-Home.cpp index 8cbc7e1..42d4879 100644 --- a/source/contacteditor/frmContactEditor-Home.cpp +++ b/source/contacteditor/frmContactEditor-Home.cpp @@ -1044,7 +1044,7 @@ void frmContactEditor::DeleteHomeNote( wxCommandEvent& event ) return; } - lboNotes->DeleteItem(longSelected); + lboHomeNotes->DeleteItem(longSelected); DeleteMapData(intSelectedData, &ContactEditorData.HomeNoteList, &ContactEditorData.HomeNoteListLanguage, &ContactEditorData.HomeNoteListAltID,