mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 19:12:17 +00:00
Fixed correct updating of the modified preset on Plater tab.
This commit is contained in:
@@ -567,7 +567,8 @@ sub _on_select_preset {
|
|||||||
wxTheApp->{preset_bundle}->update_platter_filament_ui($idx, $choice);
|
wxTheApp->{preset_bundle}->update_platter_filament_ui($idx, $choice);
|
||||||
} else {
|
} else {
|
||||||
my $selected_item = $choice->GetSelection();
|
my $selected_item = $choice->GetSelection();
|
||||||
return if ($selected_item == $self->{"selected_item_$group"});
|
return if ($selected_item == $self->{"selected_item_$group"} &&
|
||||||
|
!Slic3r::GUI::get_preset_tab($group)->current_preset_is_dirty);
|
||||||
|
|
||||||
my $selected_string = $choice->GetString($selected_item);
|
my $selected_string = $choice->GetString($selected_item);
|
||||||
if ($selected_string eq ("------- ".L("System presets")." -------") ||
|
if ($selected_string eq ("------- ".L("System presets")." -------") ||
|
||||||
|
|||||||
Reference in New Issue
Block a user