mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2756 Remove pseudo length as depth type.
* That also means there's only option left for PLT-plots: Measured Depth, so may as well remove the drop down list from the UI.
This commit is contained in:
@@ -562,10 +562,9 @@ void RimWellLogPlot::uiOrderingForVisibleDepthRange(caf::PdmUiOrdering& uiOrderi
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogPlot::uiOrderingForPlot(caf::PdmUiOrdering& uiOrdering)
|
||||
{
|
||||
RimWellRftPlot* rftp;
|
||||
firstAncestorOrThisOfType(rftp);
|
||||
RimWellRftPlot* rftp = rftPlot();
|
||||
|
||||
if (!rftp)
|
||||
if (!(rftp || pltPlot()))
|
||||
{
|
||||
uiOrdering.add(&m_depthType);
|
||||
}
|
||||
@@ -883,6 +882,7 @@ void RimWellLogPlot::updateDisabledDepthTypes()
|
||||
else if (isPltPlotChild())
|
||||
{
|
||||
m_disabledDepthTypes.insert(TRUE_VERTICAL_DEPTH);
|
||||
m_disabledDepthTypes.insert(PSEUDO_LENGTH);
|
||||
m_disabledDepthTypes.insert(CONNECTION_NUMBER);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user