-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reordered table columns results in assert when restoring from ini #8496
Labels
Comments
You may try this, in if (table->IsInitializing)
{
-- ImGuiTableFlags init_flags = ~0;
-- if (column->WidthRequest >= 0.0f || column->StretchWeight >= 0.0f)
-- init_flags &= ~ImGuiTableFlags_Resizable;
++ ImGuiTableFlags init_flags = ~table->SettingsLoadedFlags;
TableInitColumnDefaults(table, column, init_flags);
} |
That works, thanks! |
ocornut
added a commit
that referenced
this issue
Mar 17, 2025
Pushed fix and published a release for it. |
Awesome, thanks for the quick turn around! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version/Branch of Dear ImGui:
v1.91.9-docking
Back-ends:
imgui_impl_glfw.cpp + imgui_impl_metal.cpp
Compiler, OS:
macOS + clang
Tables & Columns
>Reorderable, hidable, with headers
Assertion failed: (column->IndexWithinEnabledSet <= column->DisplayOrder), function TableUpdateLayout, file imgui_tables.cpp, line 879.
The text was updated successfully, but these errors were encountered: