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

This commit is contained in:
Rebecca Cox committed 2018-01-16 10:56:41 +01:00
1 parent c3c2f3b75a
commit 305e2aee38
1 file changed
+5
@@ -443,6 +443,11 @@ void RimGeoMechView::updateLegends()
legendTitle += " [Bar]";
}
if (cellResult->resultFieldName() == "MODULUS")
{
legendTitle += " [GPa]";
}
cellResult()->legendConfig->setTitle(legendTitle);
}