#6570 Make both curve calculator and Analysis plot vector selection work.

This commit is contained in:
Gaute Lindkvist 2020-09-25 08:42:41 +02:00
parent 1bde6f8aeb
commit 49be87e38a

View File

@ -85,9 +85,12 @@ void RiuSummaryVectorSelectionDialog::setCaseAndAddress( RimSummaryCase*
curveDefs.push_back( RiaSummaryCurveDefinition( summaryCase, address, false ) );
summaryAddressSelection()->setSelectedCurveDefinitions( curveDefs );
}
summaryAddressSelection()->updateConnectedEditors();
updateLabel();
else
{
// Still need to update the editors
summaryAddressSelection()->updateConnectedEditors();
updateLabel();
}
}
//--------------------------------------------------------------------------------------------------
@ -102,9 +105,12 @@ void RiuSummaryVectorSelectionDialog::setEnsembleAndAddress( RimSummaryCaseColle
curveDefs.push_back( RiaSummaryCurveDefinition( ensemble, address ) );
setCurveSelection( curveDefs );
}
summaryAddressSelection()->updateConnectedEditors();
updateLabel();
else
{
// Still need to update the editors
summaryAddressSelection()->updateConnectedEditors();
updateLabel();
}
}
//--------------------------------------------------------------------------------------------------
@ -113,6 +119,8 @@ void RiuSummaryVectorSelectionDialog::setEnsembleAndAddress( RimSummaryCaseColle
void RiuSummaryVectorSelectionDialog::setCurveSelection( const std::vector<RiaSummaryCurveDefinition>& selection )
{
summaryAddressSelection()->setSelectedCurveDefinitions( selection );
summaryAddressSelection()->updateConnectedEditors();
updateLabel();
}
//--------------------------------------------------------------------------------------------------