mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 17:10:19 -05:00
Add reload and delete of pressure/depth data
This commit is contained in:
1 parent
1b04d9ea45
commit
beb06932f5
10 files changed
+159
-10
No files matched your search
@@ -38,6 +38,16 @@ RimPressureDepthData::RimPressureDepthData()
|
||||
m_wells.xmlCapability()->disableIO();
|
||||
m_wells.uiCapability()->setUiReadOnly( true );
|
||||
m_wells.registerGetMethod( this, &RimPressureDepthData::wellNames );
|
||||
|
||||
setDeletable( true );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimPressureDepthData::filePath() const
|
||||
{
|
||||
return m_filePath().path();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -53,7 +63,7 @@ void RimPressureDepthData::setFilePath( const QString& path )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimPressureDepthData::createRftReaderInterface()
|
||||
{
|
||||
m_fmuRftReader = new RifReaderPressureDepthData( m_filePath );
|
||||
m_fmuRftReader = new RifReaderPressureDepthData( m_filePath().path() );
|
||||
m_fmuRftReader->load();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user