← Back to team overview

kicad-developers team mailing list archive

[PATCH 27/27] Pin Table: Make pin position column sortable

 

---
 eeschema/dialogs/dialog_lib_edit_pin_table.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eeschema/dialogs/dialog_lib_edit_pin_table.cpp b/eeschema/dialogs/dialog_lib_edit_pin_table.cpp
index cfc3ee8..fdb5375 100644
--- a/eeschema/dialogs/dialog_lib_edit_pin_table.cpp
+++ b/eeschema/dialogs/dialog_lib_edit_pin_table.cpp
@@ -167,7 +167,7 @@ DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE( wxWindow* parent,
             DataViewModel::PIN_POSITION,
             100,
             wxAlignment( wxALIGN_LEFT | wxALIGN_TOP ),
-            wxDATAVIEW_COL_RESIZABLE );
+            wxDATAVIEW_COL_RESIZABLE | wxDATAVIEW_COL_SORTABLE );
     m_Pins->AppendColumn( col0 );
     m_Pins->SetExpanderColumn( col0 );
     m_Pins->AppendColumn( col1 );

References