Fix deleting and re-saving LV2 presets.

This commit is contained in:
David Robillard 2015-05-22 00:24:37 -04:00
parent cb2186b118
commit 18b54e6a85

View File

@ -1143,6 +1143,9 @@ LV2Plugin::do_remove_preset(string name)
return;
}
/* Unload preset from world. */
lilv_world_unload_resource(world, pset);
/* Delete it from the file system. This will remove the preset file and the entry
from the manifest. If this results in an empty manifest (i.e. the
preset is the only thing in the bundle), then the bundle is removed. */