mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix crashes in well log plots
This commit is contained in:
@@ -620,7 +620,7 @@ QList<caf::PdmOptionItemInfo> RimWellLogTrack::calculateValueOptions( const caf:
|
||||
caf::PdmOptionItemInfo( RegionAnnotationTypeEnum::uiText( RiuPlotAnnotationTool::FORMATION_ANNOTATIONS ),
|
||||
RiuPlotAnnotationTool::FORMATION_ANNOTATIONS ) );
|
||||
RimWellBoreStabilityPlot* wellBoreStabilityPlot = nullptr;
|
||||
this->firstAncestorOrThisOfTypeAsserted( wellBoreStabilityPlot );
|
||||
this->firstAncestorOrThisOfType( wellBoreStabilityPlot );
|
||||
if ( wellBoreStabilityPlot )
|
||||
{
|
||||
options.push_back(
|
||||
|
||||
Reference in New Issue
Block a user