Merge branch 'development' of https://github.com/MatterHackers/MatterControl into development

This commit is contained in:
Kevin Pope 2014-12-20 09:07:40 -08:00
commit 9797e901fb

View file

@ -73,10 +73,12 @@ namespace MatterHackers.MatterControl
}
}
if (ManufacturerDropList.CountVisibleChildren() == 1)
if (ManufacturerDropList.MenuItems.Count == 1)
{
ManufacturerDropList.SelectedIndex = 0;
ManufacturerDropList.SelectedIndex = 0;
}
AddChild(ManufacturerDropList);
HAnchor = HAnchor.FitToChildren;