summaryrefslogtreecommitdiff
path: root/libs/ardour/send.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/send.cc')
-rw-r--r--libs/ardour/send.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc
index b37168807e..1479eab420 100644
--- a/libs/ardour/send.cc
+++ b/libs/ardour/send.cc
@@ -36,7 +36,9 @@ Send::Send (Session& s, Placement p)
{
_metering = false;
expected_inputs = 0;
+#ifdef STATE_MANAGER
save_state (_("initial state"));
+#endif
RedirectCreated (this); /* EMIT SIGNAL */
}
@@ -50,7 +52,10 @@ Send::Send (Session& s, const XMLNode& node)
throw failed_constructor();
}
+#ifdef STATE_MANAGER
save_state (_("initial state"));
+#endif
+
RedirectCreated (this); /* EMIT SIGNAL */
}
@@ -59,7 +64,10 @@ Send::Send (const Send& other)
{
_metering = false;
expected_inputs = 0;
+#ifdef STATE_MANAGER
save_state (_("initial state"));
+#endif
+
RedirectCreated (this); /* EMIT SIGNAL */
}