mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6081 Color Results : Update views when color legend content changes
This commit is contained in:
@@ -104,7 +104,7 @@ void RimColorLegendCollection::createStandardColorLegends()
|
||||
QColor colorQ( colorArray[i].r(), colorArray[i].g(), colorArray[i].b() );
|
||||
|
||||
RimColorLegendItem* colorLegendItem = new RimColorLegendItem;
|
||||
colorLegendItem->setValues( colorQ.name(), i, color3f );
|
||||
colorLegendItem->setValues( colorQ.name(), static_cast<int>( i ), color3f );
|
||||
|
||||
colorLegend->appendColorLegendItem( colorLegendItem );
|
||||
colorLegend->setReadOnly( true );
|
||||
|
||||
Reference in New Issue
Block a user