mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4538 Check fullPathProjectFileName instead of project
This commit is contained in:
parent
194c8b7278
commit
8cb3ac5b1f
@ -381,7 +381,7 @@ bool RiaApplication::loadProject(const QString& projectFileName,
|
|||||||
|
|
||||||
// Create a absolute path file name, as this is required for update of file references in the project modifier object
|
// Create a absolute path file name, as this is required for update of file references in the project modifier object
|
||||||
QString fullPathProjectFileName = caf::Utils::absoluteFileName(projectFileName);
|
QString fullPathProjectFileName = caf::Utils::absoluteFileName(projectFileName);
|
||||||
if (!isProjectSavedToDisc())
|
if (!caf::Utils::fileExists(fullPathProjectFileName))
|
||||||
{
|
{
|
||||||
RiaLogging::info(QString("File does not exist : '%1'").arg(fullPathProjectFileName));
|
RiaLogging::info(QString("File does not exist : '%1'").arg(fullPathProjectFileName));
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user