From e6dd5128faee2880f1d8932395f95c97b474bc6b Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 31 Aug 2012 17:59:14 +0200 Subject: [PATCH] Pcbnew: fix bug: deleting a cutout in a zone was not undoable. --- pcbnew/zones_by_polygon.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/zones_by_polygon.cpp b/pcbnew/zones_by_polygon.cpp index 3a242dbb65..0608b8df66 100644 --- a/pcbnew/zones_by_polygon.cpp +++ b/pcbnew/zones_by_polygon.cpp @@ -934,6 +934,7 @@ void PCB_EDIT_FRAME::Delete_Zone_Contour( wxDC* DC, ZONE_CONTAINER* aZone ) else { + SaveCopyInUndoList( aZone, UR_CHANGED ); aZone->m_Poly->RemoveContour( ncont ); }