Add Calibrate Printer menu item
This commit is contained in:
parent
046350fc29
commit
2d4f3a4784
1 changed files with 15 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
@ -343,6 +343,20 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
Icon = AggContext.StaticData.LoadIcon("cube_export.png", 16, 16, theme.InvertIcons),
|
||||
},
|
||||
new ActionSeparator(),
|
||||
|
||||
new NamedAction()
|
||||
{
|
||||
Title = "Calibrate Printer".Localize(),
|
||||
Action = () => UiThread.RunOnIdle(() =>
|
||||
{
|
||||
UiThread.RunOnIdle(() =>
|
||||
{
|
||||
DialogWindow.Show(new PrinterCalibrationWizard(printer, theme));
|
||||
});
|
||||
}),
|
||||
Icon = AggContext.StaticData.LoadIcon("fa-cog_16.png", theme.InvertIcons)
|
||||
},
|
||||
new ActionSeparator(),
|
||||
new NamedAction()
|
||||
{
|
||||
Title = "Restore Settings".Localize(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue