Skip to content

Commit

Permalink
Fix complie error after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Noisyfox committed Nov 10, 2023
1 parent cf5c19f commit 7984b4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slic3r/GUI/Tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3233,8 +3233,8 @@ void TabPrinter::build_fff()
optgroup->append_single_option_line(option);

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) {
validate_custom_gcode_cb(this, optgroup, opt_key, 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_title, opt_key, value);
};

option = optgroup->get_option("change_extrusion_role_gcode");
Expand Down

0 comments on commit 7984b4d

Please sign in to comment.