Pcbnew: fix bug: deleting a cutout in a zone was not undoable.
This commit is contained in:
parent
92b43c7407
commit
e6dd5128fa
|
@ -934,6 +934,7 @@ void PCB_EDIT_FRAME::Delete_Zone_Contour( wxDC* DC, ZONE_CONTAINER* aZone )
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
SaveCopyInUndoList( aZone, UR_CHANGED );
|
||||||
aZone->m_Poly->RemoveContour( ncont );
|
aZone->m_Poly->RemoveContour( ncont );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue