mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6164 Color Legend : Adjust UI names
This commit is contained in:
@@ -696,8 +696,7 @@ void RimRegularLegendConfig::updateCategoryItems()
|
||||
for ( auto item : m_colorLegend->colorLegendItems() )
|
||||
{
|
||||
cvf::Color3ub ubColor( item->color() );
|
||||
QString categoryName = item->categoryName() + QString( " [%1]" ).arg( item->categoryValue() );
|
||||
categories.push_back( std::make_tuple( categoryName, item->categoryValue(), ubColor ) );
|
||||
categories.push_back( std::make_tuple( item->itemName(), item->categoryValue(), ubColor ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user