Log an undo item when filling zones.
If we wanted to put it into the parent's undo item, then the *parent* would need to not start a new undo record. Not starting one in the zone filler tries to add it to the *previous* change, not to the parent change. Fixes https://gitlab.com/kicad/code/kicad/issues/10091
This commit is contained in:
parent
93c3e6bd16
commit
4cc1ced2f3
|
@ -85,7 +85,7 @@ void ZONE_FILLER_TOOL::CheckAllZones( wxWindow* aCaller, PROGRESS_REPORTER* aRep
|
|||
if( filler.Fill( toFill, true, aCaller ) )
|
||||
{
|
||||
board()->GetConnectivity()->Build( board() );
|
||||
commit.Push( _( "Fill Zone(s)" ), false );
|
||||
commit.Push( _( "Fill Zone(s)" ) );
|
||||
getEditFrame<PCB_EDIT_FRAME>()->m_ZoneFillsDirty = false;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue