mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5019 Separate intersection legends in place in ordinary views
Needs some cleanup and not working in 2dintersection views
This commit is contained in:
@@ -659,10 +659,9 @@ void Rim2dIntersectionView::onUpdateLegends()
|
||||
m_ternaryLegendConfig()->setUiValuesFromLegendConfig( eclView->cellResult()->ternaryLegendConfig() );
|
||||
}
|
||||
|
||||
eclView->cellResult()->updateLegendData( eclView->eclipseCase(),
|
||||
m_currentTimeStep(),
|
||||
m_legendConfig(),
|
||||
m_ternaryLegendConfig() );
|
||||
eclView->cellResult()->updateRangesForExplicitLegends( m_legendConfig(),
|
||||
m_ternaryLegendConfig(),
|
||||
m_currentTimeStep() );
|
||||
|
||||
if ( eclView->cellResult()->isTernarySaturationSelected() )
|
||||
{
|
||||
@@ -673,7 +672,7 @@ void Rim2dIntersectionView::onUpdateLegends()
|
||||
}
|
||||
else
|
||||
{
|
||||
m_legendConfig()->setTitle( "Cell Result:\n" + eclView->cellResult()->resultVariableUiShortName() );
|
||||
eclView->cellResult()->updateLegendTitle( m_legendConfig, "Cell Result:\n" );
|
||||
legend = m_legendConfig()->titledOverlayFrame();
|
||||
|
||||
m_legendObjectToSelect = eclView->cellResult()->legendConfig();
|
||||
|
||||
Reference in New Issue
Block a user