mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Move updatedFilePathFromPathId() to private
File paths are now updated in initAfterRead()
This commit is contained in:
@@ -111,8 +111,7 @@ void RimAnnotationCollection::initAfterRead()
|
||||
RimPolygonFile* newPoly = new RimPolygonFile();
|
||||
newPoly->setName( oldPoly->uiName() );
|
||||
|
||||
QString fileName = RimProject::current()->updatedFilePathFromPathId( oldPoly->fileName() );
|
||||
newPoly->setFileName( fileName );
|
||||
newPoly->setFileName( oldPoly->fileName() );
|
||||
|
||||
polycoll->addPolygonFile( newPoly );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user