mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06: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:
parent
91e847cb76
commit
21b4e62e6e
5 changed files with 81 additions and 64 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue