Browse Source

Sigh. Values in the LibEdit are LIB_IDs; in Eeschema they are not.

Fixes https://gitlab.com/kicad/code/kicad/issues/9098
6.0.7
Jeff Young 4 years ago
parent
commit
c58562aebf
  1. 2
      eeschema/fields_grid_table.cpp

2
eeschema/fields_grid_table.cpp

@ -488,7 +488,7 @@ void FIELDS_GRID_TABLE<T>::SetValue( int aRow, int aCol, const wxString &aValue
value = fn.GetFullPath();
}
}
else if( m_parentType == SCH_SYMBOL_T && aRow == VALUE_FIELD )
else if( m_frame->IsType( FRAME_SCH_SYMBOL_EDITOR ) && aRow == VALUE_FIELD )
{
value = EscapeString( value, CTX_LIBID );
}

Loading…
Cancel
Save