kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #22559
[PATCH 2/2] pin table: Support flat table
---
eeschema/dialogs/dialog_lib_edit_pin_table.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eeschema/dialogs/dialog_lib_edit_pin_table.cpp b/eeschema/dialogs/dialog_lib_edit_pin_table.cpp
index 63d8226..52c399f 100644
--- a/eeschema/dialogs/dialog_lib_edit_pin_table.cpp
+++ b/eeschema/dialogs/dialog_lib_edit_pin_table.cpp
@@ -319,9 +319,9 @@ int DIALOG_LIB_EDIT_PIN_TABLE::DataViewModel::Compare( const wxDataViewItem& aIt
void DIALOG_LIB_EDIT_PIN_TABLE::DataViewModel::SetGroupingColumn( int aCol )
{
if( m_GroupingColumn == aCol )
- return;
-
- m_GroupingColumn = aCol;
+ m_GroupingColumn = NONE;
+ else
+ m_GroupingColumn = aCol;
Cleared();
CalculateGrouping();
Follow ups
References