Replace RunAnyRequiredPrinterSetup with Wizard.NextIncompleteStage()
This commit is contained in:
parent
d88b82ddb2
commit
4f3fbba14d
6 changed files with 23 additions and 62 deletions
|
|
@ -118,7 +118,14 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
doneButton.Click += (s, e) =>
|
||||
{
|
||||
this.DialogWindow.ClosePage();
|
||||
if (this.DialogWindow is StagedSetupWindow setupWindow)
|
||||
{
|
||||
setupWindow.NextIncompleteStage();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.DialogWindow.ClosePage();
|
||||
}
|
||||
};
|
||||
|
||||
this.AddPageAction(doneButton);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue