Consolidate menu generation

- Issue MatterHackers/MCCentral#5654
Different menus when right clicking an object in the 3D view and in
the design tree
This commit is contained in:
jlewin 2019-06-12 11:48:45 -07:00
parent ddf78bc299
commit 346bcefc9f
5 changed files with 210 additions and 206 deletions

View file

@ -303,7 +303,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
SetIsActive = (value) => printer.ViewState.ControlsVisible = value
},
new NamedBoolAction()
{
{
Title = "Show Terminal".Localize(),
Action = () => { },
GetIsActive = () => printer.ViewState.TerminalVisible,