Skip to content

Commit c8ccc5f

Browse files
committed
[FIX] : fix for current imgui 1.84 WIP
1 parent 7b96209 commit c8ccc5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ImGuiFileDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ namespace IGFD
647647

648648
// In this branch, Selectable() cannot toggle the selection so this will never trigger.
649649
if (selected != was_selected) //-V547
650-
window->DC.LastItemStatusFlags |= ImGuiItemStatusFlags_ToggledSelection;
650+
g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_ToggledSelection;
651651

652652
// Render
653653
if (held && (flags & ImGuiSelectableFlags_DrawHoveredWhenHeld) || vFlashing)

0 commit comments

Comments
 (0)