parent
4c1b4b4159
commit
e8bcdfed29
|
@ -755,9 +755,8 @@ void PANEL_SYM_LIB_TABLE::onConvertLegacyLibraries( wxCommandEvent& event )
|
||||||
if( relPath.IsEmpty() || (m_cur_grid == m_global_grid && relPath.Contains( "${KIPRJMOD}" ) ) )
|
if( relPath.IsEmpty() || (m_cur_grid == m_global_grid && relPath.Contains( "${KIPRJMOD}" ) ) )
|
||||||
relPath = newLib.GetFullPath();
|
relPath = newLib.GetFullPath();
|
||||||
|
|
||||||
auto model = static_cast<SYMBOL_LIB_TABLE_GRID*>( m_cur_grid->GetTable() );
|
m_cur_grid->SetCellValue( row, COL_URI, relPath );
|
||||||
model->SetValue( row, COL_URI, relPath );
|
m_cur_grid->SetCellValue( row, COL_TYPE, kicadType );
|
||||||
model->SetValue( row, COL_TYPE, kicadType );
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue