Extract finish wizard behavior for reuse - use in custom Done button

- Issue MatterHackers/MCCentral#5494
Unexpected abort dialog after completing XY calibration wizard
This commit is contained in:
jlewin 2019-05-09 18:05:21 -07:00
parent 5830f7efb3
commit e4f8dc1b0c
2 changed files with 14 additions and 13 deletions

View file

@ -126,8 +126,7 @@ namespace MatterHackers.MatterControl
{
printer.Settings.SetValue(SettingsKey.xy_offsets_have_been_calibrated, "1");
// close this wizard
this.DialogWindow.ClosePage();
this.FinishWizard();
};
}
}