Fix update of WBS plots when unchecking tracks

This commit is contained in:
Gaute Lindkvist 2020-01-28 10:12:18 +01:00
parent 031556cc3d
commit ef4bccb52a
2 changed files with 12 additions and 0 deletions

View File

@ -738,6 +738,17 @@ void RimWellLogPlot::doRenderWindowContent( QPaintDevice* paintDevice )
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogPlot::doUpdateLayout()
{
if ( m_viewer )
{
m_viewer->scheduleUpdate();
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@ -151,6 +151,7 @@ private:
void updateSubPlotNames();
void onPlotAdditionOrRemoval();
void doRenderWindowContent( QPaintDevice* paintDevice ) override;
void doUpdateLayout() override;
protected:
caf::PdmChildField<RimWellLogCurveCommonDataSource*> m_commonDataSource;