summaryrefslogtreecommitdiffstats
path: root/src/LashDriver.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-07 00:52:22 +0000
committerDavid Robillard <d@drobilla.net>2007-04-07 00:52:22 +0000
commitdec8f83f342ed76611d7dff156ab29b8df554a00 (patch)
treeea3ed349a8d67fb19e5e5d3a77384548973754db /src/LashDriver.cpp
parent723b032fdd736230c18d5088ceda7b2f0d2c82cf (diff)
downloadpatchage-dec8f83f342ed76611d7dff156ab29b8df554a00.tar.gz
patchage-dec8f83f342ed76611d7dff156ab29b8df554a00.tar.bz2
patchage-dec8f83f342ed76611d7dff156ab29b8df554a00.zip
Fix for overly loopy connections over short distances.
Auto-arrange support for modules/ports. Added auto-arrange to Patchage and Ingen. git-svn-id: http://svn.drobilla.net/lad/patchage@408 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/LashDriver.cpp')
-rw-r--r--src/LashDriver.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/LashDriver.cpp b/src/LashDriver.cpp
index 1608139..db8a51d 100644
--- a/src/LashDriver.cpp
+++ b/src/LashDriver.cpp
@@ -56,11 +56,8 @@ LashDriver::attach(bool launch_daemon)
_args, PACKAGE_NAME, lash_flags);
if (_server_interface) {
- /*_server_interface->signal_save_file.connect(sigc::mem_fun(this, LashDriver::on_save_file));
- _server_interface->signal_restore_file.connect(sigc::mem_fun(this, LashDriver::on_restore_file));
- _server_interface->signal_quit.connect(sigc::mem_fun(this, LashDriver::on_quit));*/
_server_interface->signal_project_add.connect(sigc::mem_fun(this, &LashDriver::on_project_add));
-
+ _server_interface->signal_quit.connect(sigc::mem_fun(this, &LashDriver::on_quit));
signal_attached.emit();
_app->status_message("[LASH] Attached");
} else {
@@ -82,6 +79,8 @@ void
LashDriver::on_project_add(const SharedPtr<Raul::LashProject> project)
{
_project_name = project->name();
+ project->signal_save_file.connect(sigc::mem_fun(this, &LashDriver::on_save_file));
+ project->signal_restore_file.connect(sigc::mem_fun(this, &LashDriver::on_restore_file));
}