13
0

Do not reload plugin preset on preset-save

After saving a plugin-preset we only have to mark it as
not modified and remember the preset.
This commit is contained in:
Robin Gareus 2020-09-09 17:19:19 +02:00
parent 2495193c91
commit bdebac8bec
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -657,7 +657,7 @@ PlugUIBase::add_plugin_setting ()
Plugin::PresetRecord const r = plugin->save_preset (d.name());
if (!r.uri.empty ()) {
plugin->load_preset (r);
plugin->Plugin::load_preset (r);
}
break;
}
@ -669,7 +669,7 @@ PlugUIBase::save_plugin_setting ()
string const name = _preset_combo.get_text ();
Plugin::PresetRecord const r = plugin->save_preset (name);
if (!r.uri.empty ()) {
plugin->load_preset (r);
plugin->Plugin::load_preset (r);
}
}