Inactive stages should be ignored

This commit is contained in:
jlewin 2019-04-25 12:25:43 -07:00
parent 0434ec6ce8
commit 265fa90ff8

View file

@ -68,7 +68,7 @@ namespace MatterHackers.MatterControl
textColor: theme.TextColor));
contentRow.BackgroundColor = Color.Transparent;
foreach (var stage in this.Stages)
foreach (var stage in this.Stages.Where(s => s.Enabled && s.Visible))
{
var widget = new GuiWidget();