From 1b51d09c58528d2a12159370474758b79794a3bc Mon Sep 17 00:00:00 2001 From: peri4 Date: Thu, 17 Jul 2025 11:16:47 +0300 Subject: [PATCH] PIValueTree::child(PIStringList) fix --- 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 eaeddb4d..2d292039 100644 --- a/libs/main/types/pivaluetree.cpp +++ b/libs/main/types/pivaluetree.cpp @@ -183,7 +183,7 @@ const PIValueTree & PIValueTree::child(const PIStringList & path) const { if (_is_null || path.isEmpty()) return *this; const 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; }