summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PatchCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index cb596791..acbd8efe 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -709,7 +709,7 @@ PatchCanvas::menu_add_port(const string& name, const string& type, bool is_outpu
{
const Path& path = _patch->path().base() + generate_port_name(name);
App::instance().engine()->bundle_begin();
- App::instance().engine()->new_port(path, _patch->num_ports(), type, is_output);
+ App::instance().engine()->new_port(path, type, _patch->num_ports(), is_output);
GraphObject::Variables data = get_initial_data();
for (GraphObject::Variables::const_iterator i = data.begin(); i != data.end(); ++i)
App::instance().engine()->set_variable(path, i->first, i->second);