Compare commits

1 Commits

Author SHA1 Message Date
af4b718053 PIValueTree::contains fix for null entry 2024-05-22 15:15:32 +03:00

View File

@@ -135,7 +135,7 @@ PIVariant PIValueTree::childValue(const PIString & child_name, const PIVariant &
bool PIValueTree::contains(const PIString & name) const {
if (_is_null) return true;
if (_is_null) return false;
for (const auto & c: _children)
if (c.name() == name) return true;
return false;