eeschema: focus eeschema on symbol when its row is selected in the symbol fields table
This commit is contained in:
parent
d592e49d06
commit
3d52115ae7
|
@ -1316,10 +1316,6 @@ void DIALOG_SYMBOL_FIELDS_TABLE::OnTableRangeSelected( wxGridRangeSelectEvent& e
|
|||
if( selectedCells.GetCount() == 1 )
|
||||
{
|
||||
int row = selectedCells[0].GetRow();
|
||||
int col = selectedCells[0].GetCol();
|
||||
|
||||
if( col == REFERENCE_FIELD )
|
||||
{
|
||||
int flag = m_dataModel->GetRowFlags( row );
|
||||
std::vector<SCH_REFERENCE> refs = m_dataModel->GetRowReferences( row );
|
||||
|
||||
|
@ -1344,7 +1340,6 @@ void DIALOG_SYMBOL_FIELDS_TABLE::OnTableRangeSelected( wxGridRangeSelectEvent& e
|
|||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
event.Skip();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue