Fixed a bug with filtering on repatier firmware.
This commit is contained in:
parent
47fed001ec
commit
4719e71272
2 changed files with 4 additions and 2 deletions
|
|
@ -97,7 +97,9 @@ namespace MatterHackers.MatterControl
|
|||
bool lineIsVisible = true;
|
||||
foreach (string startFilter in StartLineStringFilters)
|
||||
{
|
||||
if (line.StartsWith(startFilter))
|
||||
if (line != null
|
||||
&& line.Length > 3
|
||||
&& line.StartsWith(startFilter))
|
||||
{
|
||||
lineIsVisible = false;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue