mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 05:25:54 +08:00
This commit is contained in:
parent
9d1d5ccee9
commit
ae88f843b5
@ -751,6 +751,9 @@ sub show_preset_editor {
|
|||||||
|
|
||||||
my @presets = $self->selected_presets($group);
|
my @presets = $self->selected_presets($group);
|
||||||
$dlg->preset_editor->select_preset_by_name($presets[$i // 0]->name);
|
$dlg->preset_editor->select_preset_by_name($presets[$i // 0]->name);
|
||||||
|
$dlg->preset_editor->on_value_change(sub {
|
||||||
|
$self->config_changed;
|
||||||
|
});
|
||||||
$dlg->ShowModal;
|
$dlg->ShowModal;
|
||||||
|
|
||||||
# Re-load the presets as they might have changed.
|
# Re-load the presets as they might have changed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user