Fix ConsoleWindow regex handling (#1674)

This commit is contained in:
AzureGem 2024-02-20 14:19:24 -05:00 committed by GitHub
parent ac59f73b59
commit 3909fb13fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -731,8 +731,6 @@ internal class ConsoleWindow : Window, IDisposable
return false;
}
this.regexError = false;
// else we couldn't find a filter for this entry, if we have any filters, we need to block this entry.
return !this.pluginFilters.Any();
}
@ -741,6 +739,7 @@ internal class ConsoleWindow : Window, IDisposable
{
lock (this.renderLock)
{
this.regexError = false;
this.FilteredLogEntries = this.logText.Where(this.IsFilterApplicable).ToList();
}
}