Check if the page has been closed
- needs investigation why we are closing multiple times
This commit is contained in:
parent
1051c57be5
commit
a3aa7d8332
1 changed files with 2 additions and 1 deletions
|
|
@ -108,7 +108,8 @@ namespace MatterHackers.MatterControl
|
|||
public override void OnClosed(EventArgs e)
|
||||
{
|
||||
// save the offsets to the extruder
|
||||
if (xyCalibrationData.XPick != -1
|
||||
if (!HasBeenClosed
|
||||
&& xyCalibrationData.XPick != -1
|
||||
&& xyCalibrationData.YPick != -1)
|
||||
{
|
||||
var hotendOffset = printer.Settings.Helpers.ExtruderOffset(xyCalibrationData.ExtruderToCalibrateIndex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue