Autoplace fields if enabled after changing symbol

This commit is contained in:
Jon Evans 2022-09-11 10:11:13 -04:00
parent b4e71de89f
commit 371985b3e2
1 changed files with 3 additions and 0 deletions

View File

@ -679,6 +679,9 @@ bool DIALOG_CHANGE_SYMBOLS::processSymbol( SCH_SYMBOL* aSymbol, const SCH_SHEET_
}
}
if( resetPositions && frame->eeconfig()->m_AutoplaceFields.enable )
aSymbol->AutoAutoplaceFields( screen );
aSymbol->SetSchSymbolLibraryName( wxEmptyString );
screen->Append( aSymbol );
frame->GetCanvas()->GetView()->Update( aSymbol );