diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | src/jalv_qt.cpp | 6 |
2 files changed, 8 insertions, 1 deletions
@@ -1,8 +1,9 @@ jalv (1.6.3) unstable; * Use screen refresh rate with Gtk3 and Qt5 + * Support rdfs:label for port groups - -- David Robillard <d@drobilla.net> Sun, 03 Nov 2019 19:15:04 +0000 + -- David Robillard <d@drobilla.net> Sun, 10 Nov 2019 10:17:25 +0000 jalv (1.6.2) stable; diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp index 5084c03..6789e86 100644 --- a/src/jalv_qt.cpp +++ b/src/jalv_qt.cpp @@ -644,6 +644,12 @@ build_control_widget(Jalv* jalv) /* Group has changed */ LilvNode* groupName = lilv_world_get( world, group, jalv->nodes.lv2_name, NULL); + if (!groupName) { + groupName = lilv_world_get( + world, group, jalv->nodes.rdfs_label, NULL); + } + + fprintf(stderr, "Group name: %p '%s'\n", groupName, lilv_node_as_string(groupName)); QGroupBox* groupBox = new QGroupBox(lilv_node_as_string(groupName)); groupLayout = new QHBoxLayout(); |