mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00:00
Fixed handling of print and filament presets incompatible
with the newly selected print profile, fixed loading of print and filament tab pages after the print or filament preset has been changed to be compatible with a newly selected printer.
This commit is contained in:
@@ -506,6 +506,7 @@ sub _on_select_preset {
|
||||
wxTheApp->{preset_bundle}->set_filament_preset($idx, $choice->GetStringSelection);
|
||||
}
|
||||
if ($group eq 'filament' && @{$self->{preset_choosers}{filament}} > 1) {
|
||||
# Only update the platter UI for the 2nd and other filaments.
|
||||
wxTheApp->{preset_bundle}->update_platter_filament_ui($idx, $choice);
|
||||
} else {
|
||||
# call GetSelection() in scalar context as it's context-aware
|
||||
|
||||
Reference in New Issue
Block a user