Skip to content
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

fix: Program crash caused by missing ImGui::BeginDisabled() #1667

Merged
merged 1 commit into from
May 10, 2024

Conversation

SparkyTD
Copy link
Contributor

Problem description

Merging my previous PRs, #1660 and #1658 has resulted in a conflict causing an application crash due to a missing ImGui::BeginDisabled(); in the PopupSelect class. Specifically, none of the code related to offset validation made it into the final merge. This PR fixes the crash by reintroducing the deleted lines.

Additional things

The nightly release build seems to be unaffected by the crash, most likely because ImGui's DisabledStack assertions are only enforced in Debug mode. The offset validation was still missing before this fix.

@WerWolv WerWolv merged commit 3c91cb0 into WerWolv:master May 10, 2024
@SparkyTD SparkyTD deleted the fix_merge_1660_vs_1658 branch May 13, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants