#2127 Sim Well Branches : Use helper function instead of local function

This commit is contained in:
Magne Sjaastad
2017-12-08 10:24:14 +01:00
parent 9ef040d891
commit 97743e6d70
4 changed files with 9 additions and 30 deletions
@@ -353,7 +353,7 @@ void RimWellLogRftCurve::defineUiOrdering(QString uiConfigName, caf::PdmUiOrderi
caf::PdmUiGroup* curveDataGroup = uiOrdering.addNewGroup("Curve Data");
curveDataGroup->add(&m_eclipseResultCase);
curveDataGroup->add(&m_wellName);
if (!RimWellPlotTools::isWellPath(m_wellName))
if (!RimWellPlotTools::hasAssociatedWellPath(m_wellName))
{
curveDataGroup->add(&m_branchDetection);