summaryrefslogtreecommitdiff
path: root/libs/ardour/automation_event.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/automation_event.cc')
-rw-r--r--libs/ardour/automation_event.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/automation_event.cc b/libs/ardour/automation_event.cc
index cc2554a704..f5c9d3609a 100644
--- a/libs/ardour/automation_event.cc
+++ b/libs/ardour/automation_event.cc
@@ -192,7 +192,7 @@ AutomationList::maybe_signal_changed ()
if (_frozen) {
changed_when_thawed = true;
} else {
- StateChanged (Change (0));
+ StateChanged ();
}
}
@@ -583,7 +583,7 @@ AutomationList::thaw ()
{
_frozen = false;
if (changed_when_thawed) {
- StateChanged(Change(0)); /* EMIT SIGNAL */
+ StateChanged(); /* EMIT SIGNAL */
}
}
@@ -1255,13 +1255,13 @@ AutomationList::set_state (const XMLNode& node)
return deserialize_events (node);
}
- if (node.name() == X_("Envelope") && (nsos = node.child (X_("AutomationList")))) {
- /* new school in old school clothing */
- return set_state (*nsos);
- }
-
if (node.name() == X_("Envelope") || node.name() == X_("FadeOut") || node.name() == X_("FadeIn")) {
+ if ((nsos = node.child (X_("AutomationList")))) {
+ /* new school in old school clothing */
+ return set_state (*nsos);
+ }
+
/* old school */
const XMLNodeList& elist = node.children();