Notify UI when plugin state is copied/replaced

This commit is contained in:
Robin Gareus 2017-03-04 18:25:37 +01:00
parent ad6ddf70df
commit 044cfab946

View File

@ -2565,6 +2565,14 @@ PluginInsert::set_state(const XMLNode& node, int version)
}
}
/* when copying plugin state, notify UI */
for (Controls::const_iterator li = controls().begin(); li != controls().end(); ++li) {
boost::shared_ptr<PBD::Controllable> c = boost::dynamic_pointer_cast<PBD::Controllable> (li->second);
if (c) {
c->Changed (false, Controllable::NoGroup); /* EMIT SIGNAL */
}
}
break;
}
}