diff --git a/src/interface/index.js b/src/interface/index.js index 6bbb6ef..4852346 100644 --- a/src/interface/index.js +++ b/src/interface/index.js @@ -169,7 +169,7 @@ class Interface extends React.Component { render() { const { width, height, classes, onCompleteActions } = this.props; - const { sliced, isSlicing, progress, gcode, controlMode } = this.state; + const { sliced, isSlicing, progress, gcode, controlMode, settings } = this.state; return (
@@ -207,7 +207,7 @@ class Interface extends React.Component { {sliced && {onCompleteActions.map(({ title, callback }, i) => ( - callback(gcode.gcode)} primary label={title} /> + callback(gcode.gcode, settings)} primary label={title} /> ))} } {isSlicing &&