mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
Grid Statistics Histogram: make sure reloading project works.
This commit is contained in:
1 parent
e095f524c8
commit
5662b43ec5
2 files changed
+13
No files matched your search
+12
@@ -239,3 +239,15 @@ std::string RimGridStatisticsHistogramDataSource::name() const
|
||||
|
||||
return nameTags.join( ", " ).toStdString();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimGridStatisticsHistogramDataSource ::initAfterRead()
|
||||
{
|
||||
RimEclipseCase* eclipseCase = dynamic_cast<RimEclipseCase*>( m_case() );
|
||||
if ( eclipseCase )
|
||||
{
|
||||
m_property->setEclipseCase( eclipseCase );
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user