Replace RunAnyRequiredPrinterSetup with Wizard.NextIncompleteStage()

This commit is contained in:
jlewin 2019-04-04 16:54:33 -07:00
parent d88b82ddb2
commit 4f3fbba14d
6 changed files with 23 additions and 62 deletions

View file

@ -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);