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:
Jeff Young 2023-11-14 14:20:01 +00:00
parent 34a51d3c21
commit ca8cb5a206
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
} );
}