update project creation modal

This commit is contained in:
scawful
2024-07-13 19:17:34 -04:00
parent ee16f5410e
commit f0d8e595cb
2 changed files with 27 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ struct Project {
filepath = project_path;
name = project_path.substr(project_path.find_last_of("/") + 1);
std::ifstream in(project_path + "/" + name + ".yaze");
std::ifstream in(project_path);
if (!in.good()) {
return absl::InternalError("Could not open project file.");