From d29113cb87b58efb59f7533c1312c71508c7c772 Mon Sep 17 00:00:00 2001 From: scheffle Date: Thu, 13 Apr 2023 12:35:49 +0200 Subject: [PATCH] fix getChildViewsOfType is not recursive #291 --- vstgui/lib/cviewcontainer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vstgui/lib/cviewcontainer.h b/vstgui/lib/cviewcontainer.h index 455eeb0bd..85acf4990 100644 --- a/vstgui/lib/cviewcontainer.h +++ b/vstgui/lib/cviewcontainer.h @@ -289,7 +289,7 @@ inline uint32_t CViewContainer::getChildViewsOfType (ContainerClass& result, boo { if (auto container = child->asViewContainer ()) { - container->getChildViewsOfType (result); + container->getChildViewsOfType (result, deep); } } }