mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 12:47:50 -06:00
Clear dirty when deleting preset.
This commit is contained in:
parent
40f1176346
commit
848784ad95
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ sub new {
|
||||||
unlink $self->{presets}[$i]{file};
|
unlink $self->{presets}[$i]{file};
|
||||||
}
|
}
|
||||||
splice @{$self->{presets}}, $i, 1;
|
splice @{$self->{presets}}, $i, 1;
|
||||||
|
$self->set_dirty(0);
|
||||||
$self->{presets_choice}->Delete($i);
|
$self->{presets_choice}->Delete($i);
|
||||||
$self->{presets_choice}->SetSelection(0);
|
$self->{presets_choice}->SetSelection(0);
|
||||||
$self->on_select_preset;
|
$self->on_select_preset;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue