From 5e9c82673cf1b762b50a6c9a6d94c46c2a853ff3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 17 Aug 2008 19:22:17 +0000 Subject: Serialise connections as proper resources. git-svn-id: http://svn.drobilla.net/lad/ingen@1419 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/PatchCanvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libs/gui') diff --git a/src/libs/gui/PatchCanvas.cpp b/src/libs/gui/PatchCanvas.cpp index d625d2cd..f3aef740 100644 --- a/src/libs/gui/PatchCanvas.cpp +++ b/src/libs/gui/PatchCanvas.cpp @@ -559,7 +559,7 @@ PatchCanvas::copy_selection() c != _selected_connections.end(); ++c) { boost::shared_ptr connection = boost::dynamic_pointer_cast(*c); if (connection) - serialiser.serialise_connection(connection->model()); + serialiser.serialise_connection(_patch, connection->model()); } string result = serialiser.finish(); -- cgit v1.2.1