RFT plot. Add None to wells drop down if no wells are loaded

This commit is contained in:
Bjørn Erik Jensen 2017-11-06 14:22:21 +01:00
parent 32e9a06ec3
commit 95d9e1b722

View File

@ -1257,6 +1257,11 @@ void RimWellRftPlot::calculateValueOptionsForWells(QList<caf::PdmOptionItemInfo>
options.push_back(caf::PdmOptionItemInfo(wellName, wellName));
}
}
if (options.size() == 0)
{
options.push_back(caf::PdmOptionItemInfo("None", "None"));
}
}
//--------------------------------------------------------------------------------------------------