Skip to content

Commit

Permalink
library: modal file dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-neny committed Jun 3, 2023
1 parent 88cfeec commit 6fe17c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Library/Library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ namespace rePlayer
{
std::string filters = "All Files (*.*){.*},";
filters += Core::GetReplays().GetFileFilters();
ImGuiFileDialog::Instance()->OpenDialog("ImportFiles", "Import Files", filters.c_str(), m_lastFileDialogPath, 0, nullptr, ImGuiFileDialogFlags_DisableCreateDirectoryButton);
ImGuiFileDialog::Instance()->OpenDialog("ImportFiles", "Import Files", filters.c_str(), m_lastFileDialogPath, 0, nullptr, ImGuiFileDialogFlags_DisableCreateDirectoryButton | ImGuiFileDialogFlags_Modal);

ImGui::CloseCurrentPopup();
}
Expand Down

0 comments on commit 6fe17c6

Please sign in to comment.