summaryrefslogtreecommitdiffstats
path: root/src/libs/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-17 19:22:17 +0000
committerDavid Robillard <d@drobilla.net>2008-08-17 19:22:17 +0000
commit5e9c82673cf1b762b50a6c9a6d94c46c2a853ff3 (patch)
treed19eb252b5525dfbd1c9c3a6b561b4a57e454ba3 /src/libs/gui
parent602e31074b30167baace71ccfff1f58a6b3f0626 (diff)
downloadingen-5e9c82673cf1b762b50a6c9a6d94c46c2a853ff3.tar.gz
ingen-5e9c82673cf1b762b50a6c9a6d94c46c2a853ff3.tar.bz2
ingen-5e9c82673cf1b762b50a6c9a6d94c46c2a853ff3.zip
Serialise connections as proper resources.
git-svn-id: http://svn.drobilla.net/lad/ingen@1419 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui')
-rw-r--r--src/libs/gui/PatchCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
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> connection = boost::dynamic_pointer_cast<Connection>(*c);
if (connection)
- serialiser.serialise_connection(connection->model());
+ serialiser.serialise_connection(_patch, connection->model());
}
string result = serialiser.finish();