From cdec36a5827414f74509c233b487efab8d5eb215 Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Mon, 28 Jun 2021 09:35:01 +0200 Subject: [PATCH] #7716 Ensemble Well Logs: reattach signals on project open. --- .../ProjectDataModel/RimEnsembleWellLogCurveSet.cpp | 8 ++++++++ .../ProjectDataModel/RimEnsembleWellLogCurveSet.h | 1 + 2 files changed, 9 insertions(+) diff --git a/ApplicationLibCode/ProjectDataModel/RimEnsembleWellLogCurveSet.cpp b/ApplicationLibCode/ProjectDataModel/RimEnsembleWellLogCurveSet.cpp index 0fb5d80686..fd544b0faa 100644 --- a/ApplicationLibCode/ProjectDataModel/RimEnsembleWellLogCurveSet.cpp +++ b/ApplicationLibCode/ProjectDataModel/RimEnsembleWellLogCurveSet.cpp @@ -1172,3 +1172,11 @@ void RimEnsembleWellLogCurveSet::onFilterSourceChanged( const caf::SignalEmitter { if ( m_ensembleCurveSet() ) loadDataAndUpdate( true ); } + +//-------------------------------------------------------------------------------------------------- +/// +//-------------------------------------------------------------------------------------------------- +void RimEnsembleWellLogCurveSet::initAfterRead() +{ + connectEnsembleCurveSetFilterSignals(); +} diff --git a/ApplicationLibCode/ProjectDataModel/RimEnsembleWellLogCurveSet.h b/ApplicationLibCode/ProjectDataModel/RimEnsembleWellLogCurveSet.h index f4a8758f96..e9282f2cb2 100644 --- a/ApplicationLibCode/ProjectDataModel/RimEnsembleWellLogCurveSet.h +++ b/ApplicationLibCode/ProjectDataModel/RimEnsembleWellLogCurveSet.h @@ -132,6 +132,7 @@ private: caf::PdmFieldHandle* userDescriptionField() override; caf::PdmFieldHandle* objectToggleField() override; + void initAfterRead() override; QList calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions, bool* useOptionsOnly ) override;