#1171 WIP: Pseudo length active. Needs more verification

This commit is contained in:
Jacob Støren
2017-02-19 20:57:40 +01:00
parent 601a920337
commit b336d49fb6
4 changed files with 61 additions and 13 deletions

View File

@@ -115,9 +115,15 @@ void RimWellLogPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
{
updateMdiWindowTitle();
}
if ( changedField == &m_depthType
|| changedField == &m_depthUnit)
if ( changedField == &m_depthType )
{
RimWellAllocationPlot* wellAllocPlot;
firstAncestorOrThisOfType(wellAllocPlot);
if (wellAllocPlot) wellAllocPlot->loadDataAndUpdate();
else updateTracks();
}
if ( changedField == &m_depthUnit)
{
updateTracks();
}
@@ -675,7 +681,7 @@ void RimWellLogPlot::updateDisabledDepthTypes()
{
m_disabledDepthTypes.insert(MEASURED_DEPTH);
m_disabledDepthTypes.insert(TRUE_VERTICAL_DEPTH);
m_disabledDepthTypes.insert(PSEUDO_LENGTH);
// m_disabledDepthTypes.insert(PSEUDO_LENGTH);
}
else
{