#1890 Curve creator. Update curves when changing either case selection or one of the dynamic fields

This commit is contained in:
Bjørn Erik Jensen 2017-09-14 08:23:35 +02:00
parent 66adff30a0
commit ba88e81824

View File

@ -198,7 +198,7 @@ void RicSummaryCurveCreator::fieldChangedByUi(const caf::PdmFieldHandle* changed
{
// Lookup item type input field
auto identifierAndField = findIdentifierAndField(changedField);
if (identifierAndField != nullptr && identifierAndField->summaryIdentifier() == RifEclipseSummaryAddress::INPUT_VECTOR_NAME)
if (changedField == &m_selectedCases || identifierAndField != nullptr)
{
loadDataAndUpdatePlot();
}