Janitor : Call direct parent when overriding virtual methods

When overriding initAfterReader, make sure to always call direct parent.

Failing to do so caused RimPlotCurve::initAfterRead() not to be called, and color and other appearance settings was not imported correctly.
This commit is contained in:
Magne Sjaastad
2021-11-02 14:29:57 +01:00
parent 4366146fbb
commit 421163d601
3 changed files with 6 additions and 0 deletions

View File

@@ -423,6 +423,8 @@ QList<caf::PdmOptionItemInfo> RimWellLogFileCurve::calculateValueOptions( const
//--------------------------------------------------------------------------------------------------
void RimWellLogFileCurve::initAfterRead()
{
RimWellLogCurve::initAfterRead();
if ( !m_wellPath ) return;
if ( m_wellPath->wellLogFiles().size() == 1 )