Change from KeywordFilter property to ICustomSearch
This commit is contained in:
parent
28333b5926
commit
f88b04b7bc
11 changed files with 78 additions and 47 deletions
|
|
@ -90,20 +90,6 @@ namespace MatterHackers.MatterControl.Library
|
|||
base.Deactivate();
|
||||
}
|
||||
|
||||
private string keywordFilter = "";
|
||||
public override string KeywordFilter
|
||||
{
|
||||
get => keywordFilter;
|
||||
set
|
||||
{
|
||||
if (keywordFilter != value)
|
||||
{
|
||||
keywordFilter = value;
|
||||
this.ReloadContent();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void Dispose()
|
||||
{
|
||||
if (directoryWatcher != null)
|
||||
|
|
@ -159,7 +145,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
|
||||
try
|
||||
{
|
||||
string filter = this.KeywordFilter.Trim();
|
||||
string filter = ""; // keywordFilter.Trim();
|
||||
|
||||
var allFiles = Directory.GetFiles(FullPath, "*.*", searchDepth);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue