Fix typo which was keeping rename from working.

(Renaming the dialog window instead of the libentry doesn't really
do the trick.)
This commit is contained in:
Jeff Young 2018-11-25 01:49:28 +00:00
parent d2756bedf1
commit 6bf0e17036
1 changed files with 1 additions and 1 deletions

View File

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