mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5874 Remove direct accessor to obsoleted RimRegularLegendConfig::colorRange field.
This commit is contained in:
committed by
Magne Sjaastad
parent
f578f1f954
commit
0b9577df71
@@ -607,13 +607,20 @@ void RimRegularLegendConfig::updateFieldVisibility()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimRegularLegendConfig::setColorRange( ColorRangesType colorMode )
|
||||
void RimRegularLegendConfig::setColorLegend( RimColorLegend* colorLegend )
|
||||
{
|
||||
m_colorRangeMode_OBSOLETE = colorMode;
|
||||
m_colorLegend = mapToColorLegend( colorMode );
|
||||
m_colorLegend = colorLegend;
|
||||
updateLegend();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimColorLegend* RimRegularLegendConfig::colorLegend() const
|
||||
{
|
||||
return m_colorLegend();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user