From 89433afb47fc6ddc1b5a5105746df2968479117c Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 5 May 2024 19:08:03 +0100 Subject: [PATCH] Handle delete-table undo in Footprint Editor. Fixes https://gitlab.com/kicad/code/kicad/-/issues/17689 --- pcbnew/footprint.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/footprint.cpp b/pcbnew/footprint.cpp index 9e8e6fd10d..85b5de4215 100644 --- a/pcbnew/footprint.cpp +++ b/pcbnew/footprint.cpp @@ -1053,6 +1053,7 @@ void FOOTPRINT::Remove( BOARD_ITEM* aBoardItem, REMOVE_MODE aMode ) case PCB_DIM_LEADER_T: case PCB_SHAPE_T: case PCB_TEXTBOX_T: + case PCB_TABLE_T: case PCB_REFERENCE_IMAGE_T: for( auto it = m_drawings.begin(); it != m_drawings.end(); ++it ) {