From ac9a0df5d39722e474f670f124ffaa1f46acdee3 Mon Sep 17 00:00:00 2001 From: John Lewin Date: Sun, 17 Feb 2019 23:07:36 -0800 Subject: [PATCH] Restore Cancel button --- .../CustomWidgets/NozzleOffsetCalibrationPage.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MatterControlLib/CustomWidgets/NozzleOffsetCalibrationPage.cs b/MatterControlLib/CustomWidgets/NozzleOffsetCalibrationPage.cs index b7d536260..dd4f693c8 100644 --- a/MatterControlLib/CustomWidgets/NozzleOffsetCalibrationPage.cs +++ b/MatterControlLib/CustomWidgets/NozzleOffsetCalibrationPage.cs @@ -73,16 +73,16 @@ namespace MatterHackers.MatterControl public async override void OnLoad(EventArgs args) { - // Replace with calibration template code - await templatePrinter.PrintTemplate(verticalLayout: true); - await templatePrinter.PrintTemplate(verticalLayout: false); - if (!this.HasBeenClosed) { this.NextButton.Enabled = true; } base.OnLoad(args); + + // Replace with calibration template code + await templatePrinter.PrintTemplate(verticalLayout: true); + await templatePrinter.PrintTemplate(verticalLayout: false); } public override void OnClosed(EventArgs e)