summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-23 18:22:06 +0000
committerDavid Robillard <d@drobilla.net>2012-05-23 18:22:06 +0000
commit77cfdf0f5086e26c7811330c6b44ca02eb3337dd (patch)
tree7c8d5f6c165412922f5456cff423a60dabef0530 /src/gui
parentfb3f51c287951f8df99f8dbdd7f467dc1dea0c71 (diff)
downloadingen-77cfdf0f5086e26c7811330c6b44ca02eb3337dd.tar.gz
ingen-77cfdf0f5086e26c7811330c6b44ca02eb3337dd.tar.bz2
ingen-77cfdf0f5086e26c7811330c6b44ca02eb3337dd.zip
Fix creation of event ports via GUI.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4451 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PatchCanvas.cpp4
1 files changed, 4 insertions, 0 deletions
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,