Skip to content

Commit a377f9c

Browse files
committed
[FIX] : fix flags blending issue (under c++20) (#209)
1 parent a2c1cbf commit a377f9c

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
@@ -4039,7 +4039,7 @@ void IGFD::FileDialog::m_DisplayPathPopup(ImVec2 vSize) {
40394039

40404040
if (ImGui::TableNextColumn()) // file name
40414041
{
4042-
if (ImGui::Selectable(pInfos->fileNameExt.c_str(), &selected, ImGuiSelectableFlags_SpanAllColumns | ImGuiSelectableFlags_SpanAvailWidth)) {
4042+
if (ImGui::Selectable(pInfos->fileNameExt.c_str(), &selected, static_cast<int>(ImGuiSelectableFlags_SpanAllColumns) | static_cast<int>(ImGuiSelectableFlags_SpanAvailWidth))) {
40434043
fdi.SetCurrentPath(fdi.ComposeNewPath(fdi.GetCurrentPopupComposedPath()));
40444044
fdi.pathClicked = fdi.SelectDirectory(pInfos);
40454045
ImGui::CloseCurrentPopup();

0 commit comments

Comments
 (0)