mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4906 Ensemble Statistics Legend Icons : Fix missing symbol text
This commit is contained in:
parent
3cbbf1fd6e
commit
2d2ce4a71e
@ -133,6 +133,15 @@ RiuQwtSymbol::RiuQwtSymbol( PointSymbolEnum riuStyle, const QString& label, Labe
|
||||
void RiuQwtSymbol::renderSymbols( QPainter* painter, const QPointF* points, int numPoints ) const
|
||||
{
|
||||
QwtSymbol::renderSymbols( painter, points, numPoints );
|
||||
|
||||
if ( !m_globalLabel.isEmpty() )
|
||||
{
|
||||
for ( int i = 0; i < numPoints; i++ )
|
||||
{
|
||||
auto position = points[i];
|
||||
renderSymbolLabel( painter, position, m_globalLabel );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user