From aab17456a73b1014c2e41a639444369844d6e928 Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 23 Mar 2026 15:08:27 +0100 Subject: [PATCH] Tables: mark setting as dirty when forcing reordering. Otherwise the manufactured case of reloading a session that previously had e.g. a slider to adjust freeze count, resetting to 1 on new session, would keep showing you reordering items until another thing triggers marking dirty. --- imgui_tables.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui_tables.cpp b/imgui_tables.cpp index 3eef6b56..cebc21ed 100644 --- a/imgui_tables.cpp +++ b/imgui_tables.cpp @@ -1692,6 +1692,7 @@ void ImGui::TableSetupScrollFreeze(int columns, int rows) { ImSwap(table->Columns[table->DisplayOrderToIndex[order_n]].DisplayOrder, table->Columns[table->DisplayOrderToIndex[column_n]].DisplayOrder); ImSwap(table->DisplayOrderToIndex[order_n], table->DisplayOrderToIndex[column_n]); + table->IsSettingsDirty = true; } } }