Make sure edit flags get cleared after drawing footprint items.

Fixes: lp:1839518
* https://bugs.launchpad.net/kicad/+bug/1839518
This commit is contained in:
Jeff Young 2019-08-08 20:50:42 +01:00
parent 0b87a92ed6
commit ab283174df
1 changed files with 1 additions and 0 deletions

View File

@ -261,6 +261,7 @@ void MODULE::Add( BOARD_ITEM* aBoardItem, ADD_MODE aMode )
}
}
aBoardItem->ClearEditFlags();
aBoardItem->SetParent( this );
}