diff --git a/imgui.cpp b/imgui.cpp index 239566c..ab6b290 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -6472,6 +6472,8 @@ void ImGui::SetNextTreeNodeOpen(bool is_open, ImGuiCond cond) { ImGuiContext& g = *GImGui; + if (g.CurrentWindow->SkipItems) + return; g.SetNextTreeNodeOpenVal = is_open; g.SetNextTreeNodeOpenCond = cond ? cond : ImGuiCond_Always; }