From f7f6ea54fec9d28e9442890eb0fe85591f331e19 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 4 Apr 2022 16:56:14 +0100 Subject: [PATCH] Fix incorrect m_SyncPinEdit setting. Fixes https://gitlab.com/kicad/code/kicad/issues/11331 (cherry picked from commit 3f9cfc0ac14d2092d72cc99a74965991eb6df574) --- eeschema/symbol_editor/symbol_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/symbol_editor/symbol_editor.cpp b/eeschema/symbol_editor/symbol_editor.cpp index aa6753f522..6556573529 100644 --- a/eeschema/symbol_editor/symbol_editor.cpp +++ b/eeschema/symbol_editor/symbol_editor.cpp @@ -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 );