mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Release 2023.06
This commit is contained in:
@@ -212,8 +212,9 @@ void Rim3dWellLogRftCurve::defineUiOrdering( QString uiConfigName, caf::PdmUiOrd
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString Rim3dWellLogRftCurve::wellName() const
|
||||
{
|
||||
RimWellPath* wellPath = nullptr;
|
||||
firstAncestorOrThisOfType( wellPath );
|
||||
auto wellPath = firstAncestorOrThisOfTypeAsserted<RimWellPath>();
|
||||
|
||||
return wellPath->name();
|
||||
if ( wellPath ) return wellPath->name();
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user