From 27e779b3efbad1b20a24c6fac6641431ad8ad3e7 Mon Sep 17 00:00:00 2001 From: ocornut Date: Tue, 16 Jun 2020 23:40:06 +0200 Subject: [PATCH] Tables: Removed dubious window->SkipItem assignment in TableAutoHeaders(). --- imgui_tables.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imgui_tables.cpp b/imgui_tables.cpp index 8e9cb702..1fad48b7 100644 --- a/imgui_tables.cpp +++ b/imgui_tables.cpp @@ -2023,7 +2023,7 @@ void ImGui::TableAutoHeaders() ImGuiStyle& style = ImGui::GetStyle(); ImGuiContext& g = *GImGui; - ImGuiWindow* window = g.CurrentWindow; + //ImGuiWindow* window = g.CurrentWindow; ImGuiTable* table = g.CurrentTable; IM_ASSERT(table != NULL && "Need to call TableAutoHeaders() after BeginTable()!"); const int columns_count = table->ColumnsCount; @@ -2078,7 +2078,7 @@ void ImGui::TableAutoHeaders() } // FIXME-TABLE: This is not user-land code any more + need to explain WHY this is here! (added in fa88f023) - window->SkipItems = table->HostSkipItems; + //window->SkipItems = table->HostSkipItems; // Allow opening popup from the right-most section after the last column // (We don't actually need to ImGuiHoveredFlags_AllowWhenBlockedByPopup because in reality this is generally