Improve method name to reflect implementation.

RimColorLegendCollection::allColorLegeds is better than
RimColorLegendCollection::customColorLegends since method returns both kinds
of color legends.
This commit is contained in:
Kristian Bendiksen
2020-05-23 11:19:36 +02:00
committed by Magne Sjaastad
parent 0b9577df71
commit 30ee125749
4 changed files with 5 additions and 5 deletions

View File

@@ -1064,7 +1064,7 @@ QList<caf::PdmOptionItemInfo>
{
RimProject* project = RimProject::current();
RimColorLegendCollection* colorLegendCollection = project->colorLegendCollection();
std::vector<RimColorLegend*> colorLegends = colorLegendCollection->customColorLegends();
std::vector<RimColorLegend*> colorLegends = colorLegendCollection->allColorLegends();
for ( RimColorLegend* colorLegend : colorLegends )
{