mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user