#7055 Contour Map: Label format it should match the legend format

This commit is contained in:
Magne Sjaastad
2020-12-03 09:09:30 +01:00
parent 6d33ea37e1
commit b9843e0c91

View File

@@ -1178,7 +1178,7 @@ QString RimRegularLegendConfig::valueToText( double value, NumberFormatType numb
//--------------------------------------------------------------------------------------------------
QString RimRegularLegendConfig::valueToText( double value ) const
{
return RimRegularLegendConfig::valueToText( value, m_tickNumberFormat(), m_precision() );
return RimRegularLegendConfig::valueToText( value, m_tickNumberFormat(), m_significantDigitsInData );
}
//--------------------------------------------------------------------------------------------------