#2820 Legends: Select tensors when clicking on tensor legend

This commit is contained in:
Magne Sjaastad 2018-04-30 14:03:41 +02:00
parent d5037bd982
commit 9ba93c6385

View File

@ -525,6 +525,7 @@ std::vector<RimLegendConfig*> RimGeoMechView::legendConfigs() const
std::vector<RimLegendConfig*> absLegendConfigs; std::vector<RimLegendConfig*> absLegendConfigs;
absLegendConfigs.push_back(cellResult()->legendConfig()); absLegendConfigs.push_back(cellResult()->legendConfig());
absLegendConfigs.push_back(tensorResults()->arrowColorLegendConfig());
return absLegendConfigs; return absLegendConfigs;