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 authored and Magne Sjaastad committed 2020-05-24 17:26:51 +02:00
1 parent 0b9577df71
commit 30ee125749
4 files changed
+5 -5

No files matched your search

@@ -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 )
{