mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
Notify UI when plugin state is copied/replaced
This commit is contained in:
parent
ad6ddf70df
commit
044cfab946
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue