diff options
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))); } |