It is now working and passing tests

issue: MatterHackers/MCCentral#6021
OEM settings update procedure
This commit is contained in:
LarsBrubaker 2020-08-29 10:56:16 -07:00
parent acddb1e01a
commit e24c240876
5 changed files with 73 additions and 46 deletions

View file

@ -362,7 +362,16 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
new ActionSeparator(),
new NamedAction()
{
Title = "Restore Settings".Localize(),
Title = "Update Settings...".Localize(),
Action = () =>
{
DialogWindow.Show(new UpdateSettingsPage(printer));
},
Icon = AggContext.StaticData.LoadIcon("fa-refresh_14.png", 16, 16, theme.InvertIcons)
},
new NamedAction()
{
Title = "Restore Settings...".Localize(),
Action = () =>
{
DialogWindow.Show(new PrinterProfileHistoryPage(printer));
@ -370,7 +379,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
},
new NamedAction()
{
Title = "Reset to Defaults".Localize(),
Title = "Reset to Defaults...".Localize(),
Action = () =>
{
StyledMessageBox.ShowMessageBox(