Fixed error in path update logic

p4#: 21209
This commit is contained in:
Jacob Støren 2013-04-09 15:38:37 +02:00
parent d0eebb92a8
commit 09810bf586

View File

@ -236,11 +236,9 @@ bool RiaApplication::loadProject(const QString& projectFileName)
m_project->fileName = projectFileName;
m_project->readFile();
// If the project filename has changed, propagate new location of project
if (m_project->fileName() != projectFileName)
{
m_project->setProjectFileNameAndUpdateDependencies(projectFileName);
}
// Propagate possible new location of project
m_project->setProjectFileNameAndUpdateDependencies(projectFileName);
// On error, delete everything, and bail out.