projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad6ddf7
)
Notify UI when plugin state is copied/replaced
author
Robin Gareus
<robin@gareus.org>
Sat, 4 Mar 2017 17:25:37 +0000
(18:25 +0100)
committer
Robin Gareus
<robin@gareus.org>
Sat, 4 Mar 2017 17:25:37 +0000
(18:25 +0100)
libs/ardour/plugin_insert.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/plugin_insert.cc
b/libs/ardour/plugin_insert.cc
index b4152d81e19a54d7e9a43fac464e0619cd640712..c82257a4f4ad71292b4a7d99b5497f3224eaa5da 100644
(file)
--- a/
libs/ardour/plugin_insert.cc
+++ b/
libs/ardour/plugin_insert.cc
@@
-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;
}
}