Fix incorrect m_SyncPinEdit setting.

Fixes https://gitlab.com/kicad/code/kicad/issues/11331

(cherry picked from commit 3f9cfc0ac1)
This commit is contained in:
Jeff Young 2022-04-04 16:56:14 +01:00
parent fdfe5a813e
commit f7f6ea54fe
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ bool SYMBOL_EDIT_FRAME::LoadSymbolFromCurrentLib( const wxString& aAliasName, in
return false;
// Enable synchronized pin edit mode for symbols with interchangeable units
m_SyncPinEdit = !GetCurSymbol()->UnitsLocked();
m_SyncPinEdit = GetCurSymbol()->IsMulti() && !GetCurSymbol()->UnitsLocked();
ClearUndoRedoList();
m_toolManager->RunAction( ACTIONS::zoomFitScreen, true );