Perform background processing when changing settings in the preset editor. #3835 #3853

This commit is contained in:
Alessandro Ranellucci 2017-05-21 00:10:19 +02:00
parent 9d1d5ccee9
commit ae88f843b5

View File

@ -751,6 +751,9 @@ sub show_preset_editor {
my @presets = $self->selected_presets($group);
$dlg->preset_editor->select_preset_by_name($presets[$i // 0]->name);
$dlg->preset_editor->on_value_change(sub {
$self->config_changed;
});
$dlg->ShowModal;
# Re-load the presets as they might have changed.