From f79cb382c4e40f86866e1cfd8ab8f92777b98e6f Mon Sep 17 00:00:00 2001 From: Simon Schaak <9246423-sschaak@users.noreply.gitlab.com> Date: Thu, 28 Oct 2021 16:25:51 +0200 Subject: [PATCH] Symbol editor: fix name corruption in pin table Discard changes to pin numbers of grouped pins in the pin table to avoid setting all pins of the group to the same number. --- eeschema/dialogs/dialog_lib_edit_pin_table.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_lib_edit_pin_table.cpp b/eeschema/dialogs/dialog_lib_edit_pin_table.cpp index b2c39f5157..7a67b09871 100644 --- a/eeschema/dialogs/dialog_lib_edit_pin_table.cpp +++ b/eeschema/dialogs/dialog_lib_edit_pin_table.cpp @@ -155,7 +155,8 @@ public: switch( aCol ) { case COL_NUMBER: - pin->SetNumber( aValue ); + if( pins.size() == 1 ) + pin->SetNumber( aValue ); break; case COL_NAME: