Fix TerminalLog.Clear regression
This commit is contained in:
parent
4238757457
commit
3aa386de49
2 changed files with 4 additions and 2 deletions
|
|
@ -139,7 +139,9 @@ namespace MatterHackers.MatterControl
|
|||
PrinterLines.Clear();
|
||||
}
|
||||
|
||||
this.WriteLine("");
|
||||
// HACK: Writing null is has the effect of clearing the terminal log as the widgets clear thier visibleLines list on null.
|
||||
// Ideally we'd have something more explicit in place that handles the behavior as the effect is less than obvious
|
||||
this.WriteLine(null);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ namespace MatterHackers.MatterControl
|
|||
public void RebuildFilteredList()
|
||||
{
|
||||
lock (locker)
|
||||
{
|
||||
{
|
||||
visibleLines = new List<string>();
|
||||
var allSourceLinesTemp = allSourceLines.ToArray();
|
||||
foreach (var lineData in allSourceLinesTemp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue