From cb1fd069f0a69ada6df3a11abfd99dbc8e1eb3a2 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 26 Jun 2019 00:26:25 +0100 Subject: [PATCH] Fix inadvertant check-in of debugging code. --- eeschema/fields_grid_table.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eeschema/fields_grid_table.cpp b/eeschema/fields_grid_table.cpp index 644ad9d102..15d31fd222 100644 --- a/eeschema/fields_grid_table.cpp +++ b/eeschema/fields_grid_table.cpp @@ -134,6 +134,7 @@ FIELDS_GRID_TABLE::~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::GetAttr( int aRow, int aCol, wxGridCellAtt m_urlAttr->IncRef(); return m_urlAttr; } - /* else { m_nonUrlAttr->IncRef(); return m_nonUrlAttr; } - */ } return nullptr;