Subversion Repositories tpanel

Rev

Rev 446 | Rev 479 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 446 Rev 449
Line 61... Line 61...
61
    : mFile(name)
61
    : mFile(name)
62
{
62
{
63
    DECL_TRACER("TSubPage::TSubPage(const string& path)");
63
    DECL_TRACER("TSubPage::TSubPage(const string& path)");
64
    TError::clear();
64
    TError::clear();
65
 
65
 
66
    string projectPath = ((gPageManager && gPageManager->isSetupActive()) ? TConfig::getSystemProjectPath() : TConfig::getProjectPath());
66
    string projectPath = TConfig::getProjectPath();
67
 
67
 
68
    if (!fs::exists(projectPath + "/prj.xma"))
68
    if (!fs::exists(projectPath + "/prj.xma"))
69
    {
69
    {
70
        MSG_ERROR("Directory " << projectPath << " doesn't exist!");
70
        MSG_ERROR("Directory " << projectPath << " doesn't exist!");
71
        return;
71
        return;