Fix crashes when dropping analysis plots into Multiplots

This commit is contained in:
Gaute Lindkvist authored and Magne Sjaastad committed 2020-09-20 15:26:46 +02:00
1 parent ab3e43d8fb
commit 93baf776a1
50 files changed
+360 -255

No files matched your search

@@ -518,19 +518,6 @@ int RimWellLogTrack::axisFontSize() const
return caf::FontTools::absolutePointSize( RiaPreferences::current()->defaultPlotFontSize(), m_axisFontSize() );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::doRemoveFromCollection()
{
RimDepthTrackPlot* wellLogPlot = nullptr;
this->firstAncestorOrThisOfType( wellLogPlot );
if ( wellLogPlot )
{
wellLogPlot->removePlot( this );
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------