mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor : Fix invalid rename introduce by horizontal/vertical depth log plots
Fix deprecated
This commit is contained in:
@@ -363,7 +363,7 @@ void RimDepthTrackPlot::setDepthAxisRange( double minimumDepth, double maximumDe
|
||||
m_minVisibleDepth.uiCapability()->updateConnectedEditors();
|
||||
m_maxVisibleDepth.uiCapability()->updateConnectedEditors();
|
||||
|
||||
setAutoScaleDepthEnabled( false );
|
||||
setAutoScaleDepthValuesEnabled( false );
|
||||
updateZoom();
|
||||
}
|
||||
|
||||
@@ -1057,7 +1057,7 @@ caf::PdmFieldHandle* RimDepthTrackPlot::userDescriptionField()
|
||||
void RimDepthTrackPlot::insertPlot( RimPlot* plot, size_t index )
|
||||
{
|
||||
auto wellLogTrack = dynamic_cast<RimWellLogTrack*>( plot );
|
||||
CVF_ASSERT( plot && !wellLogTrack && "Only type RimWellLogTrack is supported in RimDepthTrackPlot" );
|
||||
CVF_ASSERT( wellLogTrack && "Only type RimWellLogTrack is supported in RimDepthTrackPlot" );
|
||||
|
||||
if ( wellLogTrack )
|
||||
{
|
||||
@@ -1211,9 +1211,9 @@ RiuPlotAxis RimDepthTrackPlot::valueAxis() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimDepthTrackPlot::setAutoScaleXEnabled( bool enabled )
|
||||
void RimDepthTrackPlot::setAutoScalePropertyValuesEnabled( bool enabled )
|
||||
{
|
||||
for ( RimPlot* plot : plots() )
|
||||
for ( auto plot : m_plots.childObjects() )
|
||||
{
|
||||
plot->setAutoScalePropertyValuesEnabled( enabled );
|
||||
}
|
||||
@@ -1222,7 +1222,7 @@ void RimDepthTrackPlot::setAutoScaleXEnabled( bool enabled )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimDepthTrackPlot::setAutoScaleDepthEnabled( bool enabled )
|
||||
void RimDepthTrackPlot::setAutoScaleDepthValuesEnabled( bool enabled )
|
||||
{
|
||||
m_isAutoScaleDepthEnabled = enabled;
|
||||
m_isAutoScaleDepthEnabled.uiCapability()->updateConnectedEditors();
|
||||
@@ -1233,8 +1233,8 @@ void RimDepthTrackPlot::setAutoScaleDepthEnabled( bool enabled )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimDepthTrackPlot::zoomAll()
|
||||
{
|
||||
setAutoScaleXEnabled( true );
|
||||
setAutoScaleDepthEnabled( true );
|
||||
setAutoScalePropertyValuesEnabled( true );
|
||||
setAutoScaleDepthValuesEnabled( true );
|
||||
updateZoom();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user