mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 17:47:43 +00:00
Add editor portion of rendering flow
This commit is contained in:
@@ -289,6 +289,16 @@ void FileBrowser::okActivated(bool viaButton)
|
||||
{
|
||||
if (!viaButton && !err && S_ISDIR(theStat.st_mode))
|
||||
{
|
||||
if (m_type == Type::OpenHECLProject)
|
||||
{
|
||||
HECL::ProjectRootPath projRoot = HECL::SearchForProject(path);
|
||||
if (projRoot)
|
||||
{
|
||||
m_returnFunc(true, projRoot.getAbsolutePath());
|
||||
close();
|
||||
return;
|
||||
}
|
||||
}
|
||||
navigateToPath(path);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user