mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 18:02:12 -05:00
Move updatedFilePathFromPathId() to private
File paths are now updated in initAfterRead()
This commit is contained in:
1 parent
a952fbce7e
commit
beccd2454e
3 files changed
+5
-8
No files matched your search
@@ -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