Fix #7323
This commit is contained in:
Marek Roszko 2021-02-05 07:12:11 -05:00
parent 4c1b4b4159
commit e8bcdfed29
1 changed files with 2 additions and 3 deletions

View File

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