Commit b6110bfc authored by Brian Sidebotham's avatar Brian Sidebotham

* Fix Bug 1219239 - EESCHEMA crashes when editing a template field in libedit...

* Fix Bug 1219239 - EESCHEMA crashes when editing a template field in libedit through the context menu
parent 51eaeccf
......@@ -495,7 +495,7 @@ void DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::initBuffers()
// add a new field unconditionally to the UI only for this template fieldname
// field id must not be in range 0 - MANDATORY_FIELDS, set before saving to disk
LIB_FIELD fld(-1);
LIB_FIELD fld( m_libEntry, -1 );
// See if field by same name already exists in component.
LIB_FIELD* libField = findfield( cmpFields, it->m_Name );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment