Fix printer references, start printing GCode after generation

This commit is contained in:
John Lewin 2019-02-17 12:12:29 -08:00 committed by jlewin
parent dd0f495af6
commit b2b542904b
5 changed files with 11 additions and 15 deletions

View file

@ -34,17 +34,17 @@ namespace MatterHackers.MatterControl
public abstract class PrinterSetupWizard : ISetupWizard
{
protected IEnumerator<WizardPage> pages;
protected PrinterConfig printer;
public string WindowTitle { get; protected set; }
public PrinterConfig Printer => printer;
public PrinterSetupWizard(PrinterConfig printer)
{
this.printer = printer;
}
public string WindowTitle { get; protected set; }
public PrinterConfig Printer => printer;
public WizardPage CurrentPage => pages.Current;
public WizardPage GetNextPage()