As described in #4261, no change in the project is triggered when the user edits a layer-specific custom gcode. This extends to the other kinds of codes, namely pause and colour change. No change is triggered whether we add, remove, or edit any of these elements.
What this PR changes
This PR addresses the issue described above, by calling the appropriate code paths when these operations are performed.
Description of the targeted issue
As described in #4261, no change in the project is triggered when the user edits a layer-specific custom gcode. This extends to the other kinds of codes, namely pause and colour change. No change is triggered whether we add, remove, or edit any of these elements.
What this PR changes
This PR addresses the issue described above, by calling the appropriate code paths when these operations are performed.