Make "Select the calibration task on the left to continue" conditional

This commit is contained in:
LarsBrubaker 2019-06-01 09:30:55 -07:00
parent 6d6bc91443
commit 4803344673
2 changed files with 16 additions and 5 deletions

View file

@ -281,6 +281,11 @@ namespace MatterHackers.MatterControl
/// </summary>
private void NavigateHome()
{
if (setupWizard is PrinterCalibrationWizard printerCalibrationWizard)
{
printerCalibrationWizard.ReturnedToHomePage = true;
}
// Construct and move to the summary/home page
this.ChangeToPage(setupWizard.HomePageGenerator());