#2372 Elm Props: Add unit [GPA] to Modulus

This commit is contained in:
Rebecca Cox 2018-01-16 10:08:17 +01:00
parent c3c2f3b75a
commit 305e2aee38

View File

@ -443,6 +443,11 @@ void RimGeoMechView::updateLegends()
legendTitle += " [Bar]";
}
if (cellResult->resultFieldName() == "MODULUS")
{
legendTitle += " [GPa]";
}
cellResult()->legendConfig->setTitle(legendTitle);
}