mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2372 Elm Props: Add unit [GPA] to Modulus
This commit is contained in:
parent
c3c2f3b75a
commit
305e2aee38
@ -443,6 +443,11 @@ void RimGeoMechView::updateLegends()
|
||||
legendTitle += " [Bar]";
|
||||
}
|
||||
|
||||
if (cellResult->resultFieldName() == "MODULUS")
|
||||
{
|
||||
legendTitle += " [GPa]";
|
||||
}
|
||||
|
||||
cellResult()->legendConfig->setTitle(legendTitle);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user