mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Always try to import well path from well path cache
This commit is contained in:
parent
2ff699c079
commit
08b9e40f6c
@ -260,19 +260,10 @@ bool RimFileWellPath::isStoredInCache() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimFileWellPath::updateFilePathsFromProjectPath( const QString& newProjectPath, const QString& oldProjectPath )
|
||||
{
|
||||
// RimWellPath::updateFilePathsFromProjectPath( newProjectPath, oldProjectPath );
|
||||
QString newCacheFileName = getCacheFileName();
|
||||
|
||||
if ( isStoredInCache() )
|
||||
if ( caf::Utils::fileExists( newCacheFileName ) )
|
||||
{
|
||||
QString newCacheFileName = getCacheFileName();
|
||||
|
||||
if ( caf::Utils::fileExists( newCacheFileName ) )
|
||||
{
|
||||
m_filePathInCache = newCacheFileName;
|
||||
}
|
||||
m_filePathInCache = newCacheFileName;
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// m_filepath = RimTools::relocateFile( m_filepath(), newProjectPath, oldProjectPath, nullptr, nullptr );
|
||||
// }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user