Fix naming error

This commit is contained in:
John Lewin 2019-02-15 21:03:01 -08:00
parent d035c58d10
commit edba8b333f
2 changed files with 7 additions and 7 deletions

View file

@ -44,13 +44,13 @@ namespace MatterHackers.MatterControl
public Action PageClose { get; set; }
protected PrinterSetupWizard wizardPage;
protected PrinterSetupWizard setupWizard;
public WizardPage(PrinterSetupWizard wizardPage, string headerText, string instructionsText)
public WizardPage(PrinterSetupWizard setupWizard, string headerText, string instructionsText)
{
this.wizardPage = wizardPage;
this.printer = wizardPage.Printer;
this.WindowTitle = wizardPage.WindowTitle;
this.setupWizard = setupWizard;
this.printer = setupWizard.Printer;
this.WindowTitle = setupWizard.WindowTitle;
this.HeaderText = headerText;
if (!string.IsNullOrEmpty(instructionsText))
@ -66,7 +66,7 @@ namespace MatterHackers.MatterControl
};
NextButton.Click += (s, e) =>
{
wizardPage.ShowNextPage(this.DialogWindow);
setupWizard.ShowNextPage(this.DialogWindow);
};
this.AddPageAction(NextButton);

View file

@ -59,7 +59,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
};
loadFilamentButton.Click += (s, e) =>
{
wizardPage.ShowNextPage(this.DialogWindow);
setupWizard.ShowNextPage(this.DialogWindow);
};
this.AddPageAction(loadFilamentButton);