mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed error in path update logic
p4#: 21209
This commit is contained in:
parent
d0eebb92a8
commit
09810bf586
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user