mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Fix complie error after merge
This commit is contained in:
@@ -3233,8 +3233,8 @@ void TabPrinter::build_fff()
|
|||||||
optgroup->append_single_option_line(option);
|
optgroup->append_single_option_line(option);
|
||||||
|
|
||||||
optgroup = page->new_optgroup(L("Change extrusion role G-code"), L"param_gcode", 0);
|
optgroup = page->new_optgroup(L("Change extrusion role G-code"), L"param_gcode", 0);
|
||||||
optgroup->m_on_change = [this, optgroup](const t_config_option_key& opt_key, const boost::any& value) {
|
optgroup->m_on_change = [this, &optgroup_title = optgroup->title](const t_config_option_key &opt_key, const boost::any &value) {
|
||||||
validate_custom_gcode_cb(this, optgroup, opt_key, value);
|
validate_custom_gcode_cb(this, optgroup_title, opt_key, value);
|
||||||
};
|
};
|
||||||
|
|
||||||
option = optgroup->get_option("change_extrusion_role_gcode");
|
option = optgroup->get_option("change_extrusion_role_gcode");
|
||||||
|
|||||||
Reference in New Issue
Block a user