diff --git a/ApplicationLibCode/Commands/CompletionCommands/RicNewStimPlanModelPlotFeature.cpp b/ApplicationLibCode/Commands/CompletionCommands/RicNewStimPlanModelPlotFeature.cpp index fa32840bc3..5bbe4fedb3 100644 --- a/ApplicationLibCode/Commands/CompletionCommands/RicNewStimPlanModelPlotFeature.cpp +++ b/ApplicationLibCode/Commands/CompletionCommands/RicNewStimPlanModelPlotFeature.cpp @@ -456,6 +456,8 @@ RimStimPlanModelPlot* RicNewStimPlanModelPlotFeature::createStimPlanModelPlot( b QString( "StimPlan Model Plot %1" ).arg( stimPlanModelPlotCollection()->stimPlanModelPlots().size() ) ); } + stimPlanModelPlotColl->updateAllRequiredEditors(); + if ( showAfterCreation ) { RiaGuiApplication::instance()->getOrCreateAndShowMainPlotWindow(); diff --git a/ApplicationLibCode/ProjectDataModel/StimPlanModel/RimStimPlanModelPlot.cpp b/ApplicationLibCode/ProjectDataModel/StimPlanModel/RimStimPlanModelPlot.cpp index 30b438ca70..0b816f3290 100644 --- a/ApplicationLibCode/ProjectDataModel/StimPlanModel/RimStimPlanModelPlot.cpp +++ b/ApplicationLibCode/ProjectDataModel/StimPlanModel/RimStimPlanModelPlot.cpp @@ -133,6 +133,8 @@ void RimStimPlanModelPlot::fieldChangedByUi( const caf::PdmFieldHandle* changedF const QVariant& oldValue, const QVariant& newValue ) { + RimDepthTrackPlot::fieldChangedByUi( changedField, oldValue, newValue ); + if ( m_stimPlanModel ) { if ( changedField == &m_eclipseCase || changedField == &m_timeStep ) diff --git a/ApplicationLibCode/UserInterface/RiuWellLogTrack.cpp b/ApplicationLibCode/UserInterface/RiuWellLogTrack.cpp index a26818c3a3..bbd2b648c0 100644 --- a/ApplicationLibCode/UserInterface/RiuWellLogTrack.cpp +++ b/ApplicationLibCode/UserInterface/RiuWellLogTrack.cpp @@ -73,13 +73,13 @@ protected: RimWellLogPlot* wlp = nullptr; m_wellLogTrack->firstAncestorOfType( wlp ); - if ( wlp && wlp->depthOrientation() == RimDepthTrackPlot::DepthOrientation::VERTICAL ) + if ( wlp && wlp->depthOrientation() == RimDepthTrackPlot::DepthOrientation::HORIZONTAL ) { - str = QString( "%1\nDepth: %2" ).arg( xAxisValueString ).arg( depthAxisValueString ); + str = QString( "%1\nDepth: %2" ).arg( depthAxisValueString ).arg( xAxisValueString ); } else { - str = QString( "%1\nDepth: %2" ).arg( depthAxisValueString ).arg( xAxisValueString ); + str = QString( "%1\nDepth: %2" ).arg( xAxisValueString ).arg( depthAxisValueString ); } if ( !curveInfoText.isEmpty() )