From f419c093301683c6a266472dbd888af94e028ee2 Mon Sep 17 00:00:00 2001 From: jane <33253363+jane-rose@users.noreply.github.com> Date: Wed, 2 Dec 2020 12:00:57 +0800 Subject: [PATCH] Fix: Fix not working on changing materialThickness (#600) --- src/app/widgets/Marlin/Laser.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/widgets/Marlin/Laser.jsx b/src/app/widgets/Marlin/Laser.jsx index e94c49a17c..67f2ab2730 100644 --- a/src/app/widgets/Marlin/Laser.jsx +++ b/src/app/widgets/Marlin/Laser.jsx @@ -229,7 +229,7 @@ const mapDispatchToProps = (dispatch) => { return { executeGcode: (gcode, context) => dispatch(machineActions.executeGcode(gcode, context)), updateIsLaserPrintAutoMode: (isLaserPrintAutoMode) => dispatch(machineActions.updateIsLaserPrintAutoMode(isLaserPrintAutoMode)), - updateMaterialThickness: (materialThickness) => dispatch(machineActions.updateIsLaserPrintAutoMode(materialThickness)) + updateMaterialThickness: (materialThickness) => dispatch(machineActions.updateMaterialThickness(materialThickness)) }; };