Fix typo in SelectRows().
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17378
This commit is contained in:
parent
bf7896a0e1
commit
9602151d6c
|
@ -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 );
|
||||
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue