Debug Tools: fixed assertion failure when opening a combo box while using io.ConfigDebugBeginReturnValueOnce/ConfigDebugBeginReturnValueLoop. (#8931)
This commit is contained in:
@@ -85,6 +85,8 @@ Other Changes:
|
|||||||
is now skipped. (#8904, #4631)
|
is now skipped. (#8904, #4631)
|
||||||
- Debug Tools: ID Stack Tool: added option to hex-encode non-ASCII characters in
|
- Debug Tools: ID Stack Tool: added option to hex-encode non-ASCII characters in
|
||||||
output path. (#8904, #4631)
|
output path. (#8904, #4631)
|
||||||
|
- Debug Tools: Fixed assertion failure when opening a combo box while using
|
||||||
|
io.ConfigDebugBeginReturnValueOnce/ConfigDebugBeginReturnValueLoop. (#8931) [@harrymander]
|
||||||
- Demo: tweaked ShowFontSelector() and ShowStyleSelector() to update selection
|
- Demo: tweaked ShowFontSelector() and ShowStyleSelector() to update selection
|
||||||
while navigating and to not close popup automatically.
|
while navigating and to not close popup automatically.
|
||||||
- Examples: Android: Android+OpenGL3: update Gradle project (#8888, #8878) [@scribam]
|
- Examples: Android: Android+OpenGL3: update Gradle project (#8888, #8878) [@scribam]
|
||||||
|
|||||||
@@ -2032,6 +2032,7 @@ bool ImGui::BeginComboPopup(ImGuiID popup_id, const ImRect& bb, ImGuiComboFlags
|
|||||||
if (!ret)
|
if (!ret)
|
||||||
{
|
{
|
||||||
EndPopup();
|
EndPopup();
|
||||||
|
if (!g.IO.ConfigDebugBeginReturnValueOnce && !g.IO.ConfigDebugBeginReturnValueLoop) // Begin may only return false with those debug tools activated.
|
||||||
IM_ASSERT(0); // This should never happen as we tested for IsPopupOpen() above
|
IM_ASSERT(0); // This should never happen as we tested for IsPopupOpen() above
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user