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:
@@ -871,12 +871,10 @@ void RimVfpPlot::initAfterRead()
|
||||
auto filePath = m_filePath_OBSOLETE.v().path();
|
||||
if ( filePath.isEmpty() ) return;
|
||||
|
||||
QString fileName = RimProject::current()->updatedFilePathFromPathId( filePath );
|
||||
|
||||
auto vfpDataCollection = RimVfpDataCollection::instance();
|
||||
if ( vfpDataCollection )
|
||||
{
|
||||
auto tableData = vfpDataCollection->appendTableDataObject( fileName );
|
||||
auto tableData = vfpDataCollection->appendTableDataObject( filePath );
|
||||
if ( tableData )
|
||||
{
|
||||
setDataSource( tableData );
|
||||
|
||||
Reference in New Issue
Block a user