Autoplacement only handles mandatory fields for Sheets.

This commit is contained in:
Jeff Young 2020-03-07 20:11:26 +00:00
parent c3beeac977
commit 0905ef8eb5
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ static bool positioningChanged( const SCH_FIELD& a, const SCH_FIELD& b )
static bool positioningChanged( FIELDS_GRID_TABLE<SCH_FIELD>* a, std::vector<SCH_FIELD>& b )
{
for( size_t i = 0; i < a->size(); ++i )
for( size_t i = 0; i < SHEET_MANDATORY_FIELDS; ++i )
{
if( positioningChanged( a->at( i ), b.at( i ) ) )
return true;