diff options
Diffstat (limited to 'src/libs/gui/PatchCanvas.cpp')
-rw-r--r-- | src/libs/gui/PatchCanvas.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/gui/PatchCanvas.cpp b/src/libs/gui/PatchCanvas.cpp index 3f0e2716..74000b79 100644 --- a/src/libs/gui/PatchCanvas.cpp +++ b/src/libs/gui/PatchCanvas.cpp @@ -465,11 +465,11 @@ PatchCanvas::copy_selection() for (list<boost::shared_ptr<Item> >::iterator m = _selected_items.begin(); m != _selected_items.end(); ++m) { boost::shared_ptr<NodeModule> module = boost::dynamic_pointer_cast<NodeModule>(*m); if (module) { - serialiser.serialize(module->node()); + serialiser.serialise(module->node()); } else { boost::shared_ptr<PatchPortModule> port_module = boost::dynamic_pointer_cast<PatchPortModule>(*m); if (port_module) - serialiser.serialize(port_module->port()); + serialiser.serialise(port_module->port()); } } @@ -477,7 +477,7 @@ PatchCanvas::copy_selection() c != _selected_connections.end(); ++c) { boost::shared_ptr<Connection> connection = boost::dynamic_pointer_cast<Connection>(*c); if (connection) - serialiser.serialize_connection(connection->model()); + serialiser.serialise_connection(connection->model()); } string result = serialiser.finish(); |