From ceacd8fd0f58a66fb0674419ec2f8dc0424a6955 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Mon, 28 Aug 2017 20:27:20 +0100 Subject: [PATCH] frmContactEditor: In DeleteHomeNote, delete item from lboHomeNotes --- source/contacteditor/frmContactEditor-Home.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5