Well Alloc Plot: Hide unit field for TVD also.

This commit is contained in:
Jacob Støren 2017-03-01 16:09:09 +01:00
parent 8f2affe670
commit bf375c2485

View File

@ -400,7 +400,10 @@ void RimWellLogPlot::defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering&
{
uiOrdering.add(&m_userName);
uiOrdering.add(&m_depthType);
if ( m_depthType() != CONNECTION_NUMBER && m_depthType() != PSEUDO_LENGTH)
RimWellAllocationPlot* wap;
firstAncestorOrThisOfType(wap);
if (!wap)
{
uiOrdering.add(&m_depthUnit);
}