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)) }; };