diff options
author | David Robillard <d@drobilla.net> | 2012-12-21 23:18:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-12-21 23:18:10 +0000 |
commit | f18681f6c2e66969d29e075ef34f52cbeb42ba25 (patch) | |
tree | f8a8d348faa7518204e5584741c554a52e4996f0 /src/gui | |
parent | 05a6390a50ab811572b805f90f89d551aab35123 (diff) | |
download | ingen-f18681f6c2e66969d29e075ef34f52cbeb42ba25.tar.gz ingen-f18681f6c2e66969d29e075ef34f52cbeb42ba25.tar.bz2 ingen-f18681f6c2e66969d29e075ef34f52cbeb42ba25.zip |
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
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/PropertiesWindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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<const ObjectModel> 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))); } |