mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 02:12:12 -05:00
#5147 Fix RimFileWellPath::setupBeforeSave addressing the filePath
Needs to copy the cached wellpaths on save. Split the cached filePath and the uncached filePath to only list the external well paths in the global path list, and to be able to copy the cached files on save.
This commit is contained in:
1 parent
e4eea67a4e
commit
1c6c82af85
5 files changed
+62
-29
No files matched your search
@@ -191,7 +191,7 @@ bool RimWellLogFile::readFile( QString* errorMessage )
|
||||
this->firstAncestorOrThisOfType( wellPath );
|
||||
if ( wellPath )
|
||||
{
|
||||
if ( wellPath->filepath().isEmpty() ) // Has dummy wellpath
|
||||
if ( wellPath->filePath().isEmpty() ) // Has dummy wellpath
|
||||
{
|
||||
wellPath->setName( m_wellName );
|
||||
}
|
||||
@@ -244,7 +244,7 @@ void RimWellLogFile::updateFilePathsFromProjectPath( const QString& newProjectPa
|
||||
{
|
||||
// bool foundFile = false;
|
||||
// std::vector<QString> searchedPaths;
|
||||
//
|
||||
//
|
||||
// QString fileNameCandidate =
|
||||
// RimTools::relocateFile( m_fileName(), newProjectPath, oldProjectPath, &foundFile, &searchedPaths );
|
||||
// if ( foundFile )
|
||||
|
||||
Reference in new issue
Block a user