From a680b7eceb1267e4816bbfca860d09827eb4232f Mon Sep 17 00:00:00 2001 From: peri4 Date: Thu, 2 Apr 2026 17:35:25 +0300 Subject: [PATCH] fix PIValueTree --- libs/main/types/pivaluetree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/main/types/pivaluetree.cpp b/libs/main/types/pivaluetree.cpp index a02ce13c..a87303ad 100644 --- a/libs/main/types/pivaluetree.cpp +++ b/libs/main/types/pivaluetree.cpp @@ -217,7 +217,7 @@ PIValueTree & PIValueTree::child(const PIStringList & path) { if (_is_null || path.isEmpty()) return *this; PIValueTree * ret = &child(path[0]); for (int i = 1; i < path.size_s(); ++i) - ret = &child(path[i]); + ret = &(ret->child(path[i])); return *ret; }