portable-file-dialogs
portable-file-dialogs copied to clipboard
Frozen "Save File" dialog (mac os)
Thanks for this great library, I love how quick and simple it is, I'm having some trouble with the save dialog option:
if (ImGui::MenuItem("Save as...")) {
auto destination = pfd::save_file("Select a scene file", currentScenePath).result();
if (!destination.empty()) Application::getSceneManager().saveScene(destination);
}
The save dialog shows up correctly, but upon clicking "save" it freezes for several seconds. After waiting for a while it becomes active again (meaning you can type and click the buttons). Clicking again save
repeats the process (gets frozen).
The same thing happens if you click `cancel instead. The file never gets written/saved
More info: It looks to work OK when choosing an existing file (overwrite)
Ha, I had the same issue.