@@ -718,13 +718,13 @@ void LBooldozerEditor::Render(float dt, LEditorScene* renderer_scene)
718718 ImGui::BeginGroup ();
719719 ImGui::Text (ICON_FK_FOLDER_OPEN);
720720 if (ImGui::IsItemClicked ()){
721- IGFD::FileDialogConfig cfg { .path = std::filesystem::current_path (), .flags = ImGuiFileDialogFlags_Modal };
721+ IGFD::FileDialogConfig cfg { .path = std::filesystem::current_path (). string () , .flags = ImGuiFileDialogFlags_Modal };
722722 ImGuiFileDialog::Instance ()->OpenDialog (" openNewBanner" , " Open Banner Image" , " Image (*.png){.png}" , cfg);
723723 ImGui::CloseCurrentPopup ();
724724 }
725725 ImGui::Text (ICON_FK_FLOPPY_O);
726726 if (ImGui::IsItemClicked ()){
727- IGFD::FileDialogConfig cfg { .path = std::filesystem::current_path (), .flags = ImGuiFileDialogFlags_Modal };
727+ IGFD::FileDialogConfig cfg { .path = std::filesystem::current_path (). string () , .flags = ImGuiFileDialogFlags_Modal };
728728 ImGuiFileDialog::Instance ()->OpenDialog (" saveBannerImage" , " Save Banner Image Titlecard" , " Image (*.png){.png}" , cfg);
729729 ImGui::CloseCurrentPopup ();
730730 }
@@ -1029,7 +1029,7 @@ void LBooldozerEditor::onSaveMapArchiveCB()
10291029
10301030void LBooldozerEditor::onGCMExportCB ()
10311031{
1032- IGFD::FileDialogConfig cfg { .path = std::filesystem::current_path (), .flags = ImGuiFileDialogFlags_Modal };
1032+ IGFD::FileDialogConfig cfg { .path = std::filesystem::current_path (). string () , .flags = ImGuiFileDialogFlags_Modal };
10331033 ImGuiFileDialog::Instance ()->OpenDialog (" exportGCMDlg" , " Export GCM" , " GameCube Disk Image (*.gcm *.iso *.szp){.iso,.gcm}" , cfg);
10341034}
10351035
0 commit comments