diff --git a/OpenNest.Engine/NestEngine.cs b/OpenNest.Engine/NestEngine.cs index 4337b46..e6993f2 100644 --- a/OpenNest.Engine/NestEngine.cs +++ b/OpenNest.Engine/NestEngine.cs @@ -866,7 +866,7 @@ namespace OpenNest BestDensity = score.Density, UsableRemnantArea = workArea.Area() - totalPartArea, BestParts = clonedParts, - Description = $"{phase}: {score.Count} parts, {score.Density:P1}" + Description = null }); } diff --git a/OpenNest/Forms/NestProgressForm.cs b/OpenNest/Forms/NestProgressForm.cs index 256a121..a9512c3 100644 --- a/OpenNest/Forms/NestProgressForm.cs +++ b/OpenNest/Forms/NestProgressForm.cs @@ -38,9 +38,8 @@ namespace OpenNest.Forms densityValue.Text = progress.BestDensity.ToString("P1"); remnantValue.Text = $"{progress.UsableRemnantArea:F1} sq in"; - descriptionValue.Text = !string.IsNullOrEmpty(progress.Description) - ? progress.Description - : "\u2014"; + if (!string.IsNullOrEmpty(progress.Description)) + descriptionValue.Text = progress.Description; } public void ShowCompleted() @@ -53,6 +52,7 @@ namespace OpenNest.Forms UpdateElapsed(); phaseValue.Text = "Done"; + descriptionValue.Text = "\u2014"; stopButton.Text = "Close"; stopButton.Enabled = true; stopButton.Click -= StopButton_Click;