From 2faf721360cd48788e28b806e0f62fe024472a4a Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 3 Feb 2021 15:49:46 +0000 Subject: [PATCH] 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 --- eeschema/dialogs/panel_sym_lib_table.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eeschema/dialogs/panel_sym_lib_table.cpp b/eeschema/dialogs/panel_sym_lib_table.cpp index d5b574155c..d43d73e508 100644 --- a/eeschema/dialogs/panel_sym_lib_table.cpp +++ b/eeschema/dialogs/panel_sym_lib_table.cpp @@ -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( m_cur_grid->GetTable() ); + model->SetValue( row, COL_URI, relPath ); + model->SetValue( row, COL_TYPE, kicadType ); } else {