Added a comment for a1b70601 (fixed filtering in component chooser)

This commit is contained in:
Maciej Suminski 2017-12-20 11:48:00 +01:00
parent f3a6bc6651
commit 457bbbed15
1 changed files with 3 additions and 0 deletions

View File

@ -189,6 +189,9 @@ void CMP_TREE_MODEL_ADAPTER_BASE::AttachTo( wxDataViewCtrl* aDataViewCtrl )
ColWidth( m_tree, 0, part_head ) );
m_col_desc = aDataViewCtrl->AppendTextColumn( desc_head, 1, wxDATAVIEW_CELL_INERT,
ColWidth( m_tree, 1, desc_head ) );
// Enabling sort order breaks node selection on Windows, so unfortunately the list
// stays sorted in inverted lexical order. On Linux it does not change anything.
m_col_part->SetSortOrder( 0 );
}