Fix naming error
This commit is contained in:
parent
d035c58d10
commit
edba8b333f
2 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
};
|
||||
loadFilamentButton.Click += (s, e) =>
|
||||
{
|
||||
wizardPage.ShowNextPage(this.DialogWindow);
|
||||
setupWizard.ShowNextPage(this.DialogWindow);
|
||||
};
|
||||
|
||||
this.AddPageAction(loadFilamentButton);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue