From 77cfdf0f5086e26c7811330c6b44ca02eb3337dd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 23 May 2012 18:22:06 +0000 Subject: Fix creation of event ports via GUI. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4451 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchCanvas.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp index 90664e1f..9c2abd5c 100644 --- a/src/gui/PatchCanvas.cpp +++ b/src/gui/PatchCanvas.cpp @@ -804,6 +804,10 @@ PatchCanvas::menu_add_port(const string& sym_base, const string& name_base, Resource::Properties props = get_initial_data(); props.insert(make_pair(uris.rdf_type, _app.forge().alloc_uri(type.str()))); + if (type == uris.atom_AtomPort) { + props.insert(make_pair(uris.atom_bufferType, + uris.atom_Sequence)); + } props.insert(make_pair(uris.rdf_type, is_output ? uris.lv2_OutputPort : uris.lv2_InputPort)); props.insert(make_pair(uris.lv2_index, -- cgit v1.2.1