13
0

Fix thinko in 6ae047cdd and 8f488515 (prefer LV2 symbol over ID)

This commit is contained in:
Robin Gareus 2017-04-21 05:36:52 +02:00
parent 048af97b54
commit 10c4891532

View File

@ -2404,7 +2404,11 @@ PluginInsert::set_control_ids (const XMLNode& node, int version)
}
}
#endif
if (p != (uint32_t)-1 && (*iter)->get_property (X_("parameter"), p)) {
if (p == (uint32_t)-1) {
(*iter)->get_property (X_("parameter"), p);
}
if (p != (uint32_t)-1) {
/* this may create the new controllable */