Refresh filament controls after loading printer presets

Synchronize the plater filament controls after preset loading, even when the internal filament list already matches the nozzle count.

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
Eric McCann
2026-09-27 14:14:28 -04:00
co-authored by Codex
parent 7ee64d83bb
commit 2fcf2222b6
+5
View File
@@ -8874,6 +8874,11 @@ void GUI_App::load_current_presets(bool active_preset_combox/*= false*/, bool ch
if (active_preset_combox) if (active_preset_combox)
tab->reactive_preset_combo_box(); tab->reactive_preset_combo_box();
} }
// Preset loading can resize the filament list without an extruder-count change event.
// Refresh the controls even when the list already matches the printer's nozzle count.
if (printer_technology == ptFFF)
this->plater()->on_filament_count_change(preset_bundle->filament_presets.size());
// BBS: model config // BBS: model config
for (Tab *tab : model_tabs_list) for (Tab *tab : model_tabs_list)
if (tab->supports_printer_technology(printer_technology)) { if (tab->supports_printer_technology(printer_technology)) {