#3075 Resampled plot export. Vectors ending with 'TH' are now considered accumulated values

This commit is contained in:
Bjørn Erik Jensen 2018-06-26 11:47:53 +02:00
parent b0355471b4
commit ca171635f0

View File

@ -674,7 +674,8 @@ bool RifEclipseSummaryAddress::isValid() const
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
bool RifEclipseSummaryAddress::hasAccumulatedData() const bool RifEclipseSummaryAddress::hasAccumulatedData() const
{ {
return QString::fromStdString(m_quantityName).endsWith("T"); return QString::fromStdString(m_quantityName).endsWith("T") ||
QString::fromStdString(m_quantityName).endsWith("TH");
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------