Experimental multi-printer support

This commit is contained in:
John Lewin 2018-11-11 21:25:50 -08:00
parent b512d74284
commit 0d9e6aadf2
13 changed files with 192 additions and 228 deletions

View file

@ -313,7 +313,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
Title = "Restore Settings".Localize(),
Action = () =>
{
DialogWindow.Show<PrinterProfileHistoryPage>();
DialogWindow.Show(new PrinterProfileHistoryPage(printer));
}
},
new NamedAction()
@ -362,7 +363,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
if (doDelete)
{
ProfileManager.Instance.DeleteActivePrinter(true);
ProfileManager.Instance.DeletePrinter(printer.Settings.ID);
}
},
"Are you sure you want to delete your currently selected printer?".Localize(),