mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
PR Review comments
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Nuake
|
||||
{
|
||||
// Parse the project and load it.
|
||||
std::string projectPath = FileDialog::OpenFile(".project");
|
||||
FileSystem::SetRootDirectory(FileSystem::RemoveFileFromPath(projectPath));
|
||||
FileSystem::SetRootDirectory(FileSystem::GetParentPath(projectPath));
|
||||
Ref<Project> project = Project::New();
|
||||
if (!project->Deserialize(FileSystem::ReadFile(projectPath, true)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user