Adaptive Pressure Advance Validation (#14198)

Co-authored-by: Wegerich <23041237+Wegerich@users.noreply.github.com>
This commit is contained in:
Ian Bassi
2026-06-19 15:46:00 -03:00
committed by GitHub
parent 17e2adc283
commit f4268a0eec
6 changed files with 160 additions and 0 deletions

View File

@@ -3946,6 +3946,15 @@ void TabFilament::build()
option.opt.is_code = true;
option.opt.height = 15;
optgroup->append_single_option_line(option);
optgroup->m_on_change = [this](const t_config_option_key& opt_key, const boost::any& value) {
DynamicPrintConfig& filament_config = m_preset_bundle->filaments.get_edited_preset().config;
update_dirty();
if (opt_key == "adaptive_pressure_advance_model")
m_config_manipulation.check_adaptive_pressure_advance_model(&filament_config);
on_value_change(opt_key, value);
};
//
optgroup = page->new_optgroup(L("Print chamber temperature"), L"param_chamber_temp");