mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-01 12:51:12 +00:00
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:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user