diff --git a/eeschema/dialogs/panel_sym_lib_table.cpp b/eeschema/dialogs/panel_sym_lib_table.cpp index 7fff77fddf..137c1d17fd 100644 --- a/eeschema/dialogs/panel_sym_lib_table.cpp +++ b/eeschema/dialogs/panel_sym_lib_table.cpp @@ -674,7 +674,7 @@ void PANEL_SYM_LIB_TABLE::onConvertLegacyLibraries( wxCommandEvent& event ) wxArrayInt selectedRows = m_cur_grid->GetSelectedRows(); - if( selectedRows.empty() ) + if( selectedRows.empty() && m_cur_grid->GetGridCursorRow() >= 0 ) selectedRows.push_back( m_cur_grid->GetGridCursorRow() ); wxArrayInt legacyRows;