Browse Source

Fix typo which was keeping rename from working.

(Renaming the dialog window instead of the libentry doesn't really
do the trick.)
pull/13/head
Jeff Young 7 years ago
parent
commit
6bf0e17036
  1. 2
      eeschema/dialogs/dialog_edit_component_in_lib.cpp

2
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() );

Loading…
Cancel
Save