Sync up variable names with type changes

This commit is contained in:
John Lewin 2017-10-15 15:50:48 -07:00
parent f5f32fb53e
commit 773354766a
5 changed files with 16 additions and 17 deletions

View file

@ -366,11 +366,11 @@ namespace MatterHackers.MatterControl
if (menuAction.Title == "----")
{
menuItem = PartPreviewWindow.OverflowMenu.CreateHorizontalLine();
menuItem = OverflowMenu.CreateHorizontalLine();
}
else
{
menuItem = PartPreviewWindow.OverflowMenu.CreateMenuItem((string)menuAction.Title);
menuItem = OverflowMenu.CreateMenuItem(menuAction.Title);
menuItem.Name = $"{menuAction.Title} Menu Item";
}