mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -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 );
|
||||
}
|
||||
}
|
||||
@@ -52,6 +52,7 @@ protected:
|
||||
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions ) override;
|
||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||
void initAfterRead() override;
|
||||
|
||||
RigHistogramData createStatisticsData() const;
|
||||
|
||||
|
||||
Reference in new issue
Block a user