Skip to content

Commit

Permalink
#5357: Add search column to SkinChooser tree view
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Oct 12, 2020
1 parent 728dce1 commit 0f60449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radiant/ui/einspector/SkinChooser.cpp
Expand Up @@ -83,10 +83,10 @@ void SkinChooser::populateWindow()
// Single column to display the skin name
_treeView->AppendIconTextColumn(_("Skin"), _columns.displayName.getColumnIndex(),
wxDATAVIEW_CELL_INERT, wxCOL_WIDTH_AUTOSIZE, wxALIGN_NOT);
_treeView->AddSearchColumn(_columns.displayName);

// Connect up selection changed callback
_treeView->Connect(wxEVT_DATAVIEW_SELECTION_CHANGED,
wxDataViewEventHandler(SkinChooser::_onSelChanged), NULL, this);
_treeView->Bind(wxEVT_DATAVIEW_SELECTION_CHANGED, &SkinChooser::_onSelChanged, this);

// Preview
_preview.reset(new wxutil::ModelPreview(splitter));
Expand Down

0 comments on commit 0f60449

Please sign in to comment.