Skip to content

Commit

Permalink
#2372 Elm Props: Add unit [GPA] to Modulus
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebecca Cox committed Jan 16, 2018
1 parent c3c2f3b commit 305e2ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ApplicationCode/ProjectDataModel/RimGeoMechView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,11 @@ void RimGeoMechView::updateLegends()
legendTitle += " [Bar]";
}

if (cellResult->resultFieldName() == "MODULUS")
{
legendTitle += " [GPa]";
}

cellResult()->legendConfig->setTitle(legendTitle);
}

Expand Down

0 comments on commit 305e2ae

Please sign in to comment.