From 2c4a4c6c4047174e13d6986e6ae737574bce94b4 Mon Sep 17 00:00:00 2001 From: darylE Date: Tue, 25 Jun 2024 16:33:35 -0400 Subject: [PATCH] #4633 Address the crashes with groups of submodels --- xLights/LayoutPanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xLights/LayoutPanel.cpp b/xLights/LayoutPanel.cpp index 96453a441..f911def6d 100644 --- a/xLights/LayoutPanel.cpp +++ b/xLights/LayoutPanel.cpp @@ -1518,7 +1518,7 @@ void LayoutPanel::UpdateModelsForPreview(const std::string &group, LayoutGroup* } if (m->DisplayAs == "SubModel") { if (mark_selected) { - prev_models.push_back(m); // setting this causes exception when prev_models render finds a submodel + // prev_models.push_back(m); // setting this causes exception when prev_models render finds a submodel } } else if (m->DisplayAs == "ModelGroup") {