project: implement searching

I can't believe this has been unimplemented this whole time...
This commit is contained in:
itsmattkc
2022-09-14 13:40:35 -07:00
parent 53e510b87d
commit cce44e40f4
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -58,6 +58,7 @@ ProjectPanel::ProjectPanel(QWidget *parent) :
layout->addWidget(explorer_);
connect(explorer_, &ProjectExplorer::DoubleClickedItem, this, &ProjectPanel::ItemDoubleClickSlot);
connect(explorer_, &ProjectExplorer::SelectionChanged, this, &ProjectPanel::SelectionChanged);
connect(toolbar, &ProjectToolbar::SearchChanged, explorer_, &ProjectExplorer::SetSearchFilter);
// Set toolbar's view to the explorer's view
toolbar->SetView(explorer_->view_type());