mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3783 Guard in case of incomplete project data
This commit is contained in:
committed by
Magne Sjaastad
parent
3a31199365
commit
2ae4e483ed
@@ -215,8 +215,11 @@ QList<caf::PdmOptionItemInfo> RimSummaryPlotSourceStepping::calculateValueOption
|
||||
|
||||
for (auto reader : readers)
|
||||
{
|
||||
auto subset = RiaSummaryCurveAnalyzer::addressesForCategory(reader->allResultAddresses(), category);
|
||||
quantityAnalyzer.appendAdresses(subset);
|
||||
if (reader != nullptr)
|
||||
{
|
||||
auto subset = RiaSummaryCurveAnalyzer::addressesForCategory(reader->allResultAddresses(), category);
|
||||
quantityAnalyzer.appendAdresses(subset);
|
||||
}
|
||||
}
|
||||
|
||||
for (const auto& quantity : quantityAnalyzer.quantities())
|
||||
|
||||
Reference in New Issue
Block a user