Fix chamber_temperature crash

This commit is contained in:
Noisyfox
2025-10-01 12:29:30 +08:00
parent 8a6a7a0d7d
commit 6757906ad3
3 changed files with 5 additions and 5 deletions

View File

@@ -3787,7 +3787,7 @@ void TabFilament::build()
else if (opt_key == "nozzle_temperature_initial_layer") {
m_config_manipulation.check_nozzle_temperature_initial_layer_range(&filament_config);
}
else if (opt_key == "chamber_temperatures") {
else if (opt_key == "chamber_temperature") {
m_config_manipulation.check_chamber_temperature(&filament_config);
}
@@ -4066,7 +4066,7 @@ void TabFilament::toggle_options()
toggle_line("filament_diameter", !is_pellet_printer);
bool support_chamber_temp_control = this->m_preset_bundle->printers.get_edited_preset().config.opt_bool("support_chamber_temp_control");
toggle_line("chamber_temperatures", support_chamber_temp_control);
toggle_line("chamber_temperature", support_chamber_temp_control);
}
if (m_active_page->title() == L("Setting Overrides"))