Directly expose typed OverflowButton, resolve menu enabled regression

- Issue MatterHackers/MCCentral#3060
PrintLibrary popup menu items are always enabled
This commit is contained in:
John Lewin 2018-04-07 09:50:52 -07:00
parent dafaa9f8ba
commit 3ad0c32d6d
3 changed files with 10 additions and 7 deletions

View file

@ -190,7 +190,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
this.AddChild(new TemperatureWidgetBed(printer));
}
this.OverflowMenu.Name = "Printer Overflow Menu";
this.OverflowButton.Name = "Printer Overflow Menu";
this.ExtendOverflowMenu = (popupMenu) =>
{
this.GeneratePrinterOverflowMenu(popupMenu, theme);