#2488 Formation names. Fix empty formation names dropdown

This commit is contained in:
Bjørn Erik Jensen 2018-03-06 14:47:17 +01:00
parent 1792163d55
commit 8b9b0b8787

View File

@ -677,6 +677,8 @@ QList<caf::PdmOptionItemInfo> RimGeoMechCase::calculateValueOptions(const caf::P
{
QList<caf::PdmOptionItemInfo> options;
options = RimCase::calculateValueOptions(fieldNeedingOptions, useOptionsOnly);
if (fieldNeedingOptions == &m_elementPropertyFileNameIndexUiSelection)
{
for (size_t i = 0; i < m_elementPropertyFileNames.v().size(); i++)