mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 19:29:02 +08:00
Clear dirty when deleting preset.
This commit is contained in:
parent
40f1176346
commit
848784ad95
@ -118,6 +118,7 @@ sub new {
|
||||
unlink $self->{presets}[$i]{file};
|
||||
}
|
||||
splice @{$self->{presets}}, $i, 1;
|
||||
$self->set_dirty(0);
|
||||
$self->{presets_choice}->Delete($i);
|
||||
$self->{presets_choice}->SetSelection(0);
|
||||
$self->on_select_preset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user