Make behaviors conditional on error level
This commit is contained in:
parent
a1447fc3ea
commit
cd5b08d4ae
4 changed files with 4 additions and 4 deletions
|
|
@ -103,7 +103,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
if (doSlicing)
|
||||
{
|
||||
var errors = printer.ValidateSettings();
|
||||
if (errors.Count > 0)
|
||||
if (errors.Any(e => e.ErrorLevel == ValidationErrorLevel.Error))
|
||||
{
|
||||
doSlicing = false;
|
||||
ApplicationController.Instance.ShowValidationErrors("Slicing Error".Localize(), errors);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue