-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpatch.diff
More file actions
14 lines (13 loc) · 1.03 KB
/
patch.diff
File metadata and controls
14 lines (13 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Submodule mod/imguifiledialog contains modified content
diff --git a/mod/imguifiledialog/ImGuiFileDialog.cpp b/mod/imguifiledialog/ImGuiFileDialog.cpp
index ca4b16b..99a56bc 100644
--- a/mod/imguifiledialog/ImGuiFileDialog.cpp
+++ b/mod/imguifiledialog/ImGuiFileDialog.cpp
@@ -3993,7 +3993,7 @@ void IGFD::FileDialog::m_DisplayPathPopup(ImVec2 vSize) {
if (ImGui::TableNextColumn()) // file name
{
- if (ImGui::Selectable(infos_ptr->fileNameExt.c_str(), &selected, ImGuiSelectableFlags_SpanAllColumns | ImGuiSelectableFlags_SpanAvailWidth)) {
+ if (ImGui::Selectable(infos_ptr->fileNameExt.c_str(), &selected, (int)ImGuiSelectableFlags_SpanAllColumns | ImGuiSelectableFlags_SpanAvailWidth)) {
fdi.SetCurrentPath(fdi.ComposeNewPath(fdi.GetCurrentPopupComposedPath()));
fdi.pathClicked = fdi.SelectDirectory(infos_ptr);
ImGui::CloseCurrentPopup();