From 6bf0e17036214b0646a9d1c05775a03f4d2ff611 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 25 Nov 2018 01:49:28 +0000 Subject: [PATCH] Fix typo which was keeping rename from working. (Renaming the dialog window instead of the libentry doesn't really do the trick.) --- eeschema/dialogs/dialog_edit_component_in_lib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_edit_component_in_lib.cpp b/eeschema/dialogs/dialog_edit_component_in_lib.cpp index aab619653d..40c22d79d0 100644 --- a/eeschema/dialogs/dialog_edit_component_in_lib.cpp +++ b/eeschema/dialogs/dialog_edit_component_in_lib.cpp @@ -303,7 +303,7 @@ bool DIALOG_EDIT_COMPONENT_IN_LIBRARY::TransferDataFromWindow() m_libEntry->SetFields( *m_fields ); // We need to keep the name and the value the same at the moment! - SetName( m_libEntry->GetValueField().GetText() ); + m_libEntry->SetName( m_libEntry->GetValueField().GetText() ); rootAlias->SetDescription( m_DescCtrl->GetValue() ); rootAlias->SetKeyWords( m_KeywordCtrl->GetValue() );