diff --git a/imgui_widgets.cpp b/imgui_widgets.cpp index 936de9098..7e51511dc 100644 --- a/imgui_widgets.cpp +++ b/imgui_widgets.cpp @@ -8170,7 +8170,7 @@ void ImGui::MultiSelectItemHeader(ImGuiID id, bool* p_selected, ImGuiButtonFlags { ImGuiButtonFlags button_flags = *p_button_flags; button_flags |= ImGuiButtonFlags_NoHoveredOnFocus; - button_flags &= ~(ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickRelease); + button_flags &= ~(ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease); if (ms->Flags & ImGuiMultiSelectFlags_SelectOnClickAlways) button_flags |= ImGuiButtonFlags_PressedOnClick; else if (ms->Flags & ImGuiMultiSelectFlags_SelectOnClickRelease)