Browse Source

Fix inadvertant check-in of debugging code.

pull/15/head
Jeff Young 7 years ago
parent
commit
cb1fd069f0
  1. 3
      eeschema/fields_grid_table.cpp

3
eeschema/fields_grid_table.cpp

@ -134,6 +134,7 @@ FIELDS_GRID_TABLE<T>::~FIELDS_GRID_TABLE()
m_valueAttr->DecRef();
m_footprintAttr->DecRef();
m_urlAttr->DecRef();
m_nonUrlAttr->DecRef();
m_vAlignAttr->DecRef();
m_hAlignAttr->DecRef();
m_orientationAttr->DecRef();
@ -253,13 +254,11 @@ wxGridCellAttr* FIELDS_GRID_TABLE<T>::GetAttr( int aRow, int aCol, wxGridCellAtt
m_urlAttr->IncRef();
return m_urlAttr;
}
/*
else
{
m_nonUrlAttr->IncRef();
return m_nonUrlAttr;
}
*/
}
return nullptr;

Loading…
Cancel
Save