Edit library table through backing table instead of grid.
While editing the grid works on OSX, it doesn't appear to on MSW or GTK. Whether or not editing the backing table is any better or not remains to be seen.... Fixes https://gitlab.com/kicad/code/kicad/issues/7323
This commit is contained in:
parent
c220913aa1
commit
2faf721360
|
@ -750,8 +750,9 @@ void PANEL_SYM_LIB_TABLE::onConvertLegacyLibraries( wxCommandEvent& event )
|
|||
relPath = NormalizePath( newLib.GetFullPath(), &Pgm().GetLocalEnvVariables(),
|
||||
m_project );
|
||||
|
||||
m_cur_grid->SetCellValue( row, COL_URI, relPath );
|
||||
m_cur_grid->SetCellValue( row, COL_TYPE, kicadType );
|
||||
auto model = static_cast<SYMBOL_LIB_TABLE_GRID*>( m_cur_grid->GetTable() );
|
||||
model->SetValue( row, COL_URI, relPath );
|
||||
model->SetValue( row, COL_TYPE, kicadType );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue