improve primary operations

This commit is contained in:
MatterHackers 2023-03-11 10:56:32 -08:00
parent 3f8eeda65b
commit 0416a941d7
14 changed files with 83 additions and 121 deletions

View file

@ -90,7 +90,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
private void TaskDetails_ProgressChanged(object sender, (double progress0To1, string status) e)
{
if (e.status.StartsWith("[[send to terminal]]"))
if (e.status != null
&& e.status.StartsWith("[[send to terminal]]"))
{
// strip of the prefix
e.status = e.status.Substring("[[send to terminal]]".Length);