From f18681f6c2e66969d29e075ef34f52cbeb42ba25 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 21 Dec 2012 23:18:10 +0000 Subject: Show properties with no domain in add selector of properties dialog. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4885 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PropertiesWindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gui/PropertiesWindow.cpp b/src/gui/PropertiesWindow.cpp index f439de87..205fb3ee 100644 --- a/src/gui/PropertiesWindow.cpp +++ b/src/gui/PropertiesWindow.cpp @@ -181,8 +181,9 @@ get_properties(World* world, SharedPtr model) } } - if (n_matching_domains > 0 && - n_matching_domains == lilv_nodes_size(domains)) { + if (lilv_nodes_size(domains) == 0 || ( + n_matching_domains > 0 && + n_matching_domains == lilv_nodes_size(domains))) { properties.insert(Raul::URI(lilv_node_as_uri(prop))); } -- cgit v1.2.1