Fix typo.
We want recursion into descendants here. Alternatively we could change the caller to RunOnDescendents(), but it seemed cleaner to omit the scoping of the Stage() call.... Fixes https://gitlab.com/kicad/code/kicad/-/issues/16077
This commit is contained in:
parent
34a51d3c21
commit
ca8cb5a206
|
@ -83,7 +83,7 @@ COMMIT& BOARD_COMMIT::Stage( EDA_ITEM* aItem, CHANGE_TYPE aChangeType, BASE_SCRE
|
|||
group->RunOnChildren(
|
||||
[&]( BOARD_ITEM* child )
|
||||
{
|
||||
COMMIT::Stage( child, aChangeType );
|
||||
Stage( child, aChangeType );
|
||||
} );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue