Fix typo in SelectRows().

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17378
This commit is contained in:
Jeff Young 2024-03-10 20:54:59 +00:00
parent bf7896a0e1
commit 9602151d6c
2 changed files with 2 additions and 2 deletions

View File

@ -2157,7 +2157,7 @@ int EE_SELECTION_TOOL::SelectRows( const TOOL_EVENT& aEvent )
for( auto& [ table, row ] : rows )
{
for( int col = 0; col < table->GetRowCount(); ++col )
for( int col = 0; col < table->GetColCount(); ++col )
{
SCH_TABLECELL* cell = table->GetCell( row, col );

View File

@ -3964,7 +3964,7 @@ int PCB_SELECTION_TOOL::SelectRows( const TOOL_EVENT& aEvent )
for( auto& [ table, row ] : rows )
{
for( int col = 0; col < table->GetRowCount(); ++col )
for( int col = 0; col < table->GetColCount(); ++col )
{
PCB_TABLECELL* cell = table->GetCell( row, col );