mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Make sure the vector name is visible for delta ensemble curves
This commit is contained in:
parent
b0344a1e72
commit
11a3c66a0b
@ -1671,21 +1671,9 @@ void RimEnsembleCurveSet::appendOptionItemsForSummaryAddresses( QList<caf::PdmOp
|
||||
if ( hash != m_hash )
|
||||
{
|
||||
m_hash = hash;
|
||||
|
||||
std::set<RifEclipseSummaryAddress> addressesForEnsemble;
|
||||
for ( RimSummaryCase* summaryCase : allSummaryCases )
|
||||
{
|
||||
if ( !summaryCase ) continue;
|
||||
|
||||
if ( auto reader = summaryCase->summaryReader() )
|
||||
{
|
||||
const auto& addrs = reader->allResultAddresses();
|
||||
addressesForEnsemble.insert( addrs.begin(), addrs.end() );
|
||||
}
|
||||
}
|
||||
|
||||
m_cachedAddressOptions.clear();
|
||||
|
||||
auto addressesForEnsemble = summaryCaseGroup->ensembleSummaryAddresses();
|
||||
for ( const auto& addr : addressesForEnsemble )
|
||||
{
|
||||
std::string name = addr.uiText();
|
||||
|
Loading…
Reference in New Issue
Block a user