From 371985b3e2c8cc4556810b4c6a622596d257aa8c Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sun, 11 Sep 2022 10:11:13 -0400 Subject: [PATCH] Autoplace fields if enabled after changing symbol --- eeschema/dialogs/dialog_change_symbols.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eeschema/dialogs/dialog_change_symbols.cpp b/eeschema/dialogs/dialog_change_symbols.cpp index d76bbd31cd..dff803610a 100644 --- a/eeschema/dialogs/dialog_change_symbols.cpp +++ b/eeschema/dialogs/dialog_change_symbols.cpp @@ -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 );