#2917 Vector Selection Dialog: Fix missing selection text

This commit is contained in:
Jacob Støren committed 2018-05-15 14:26:28 +02:00
1 parent a222c096f3
commit d34e517968
2 files changed
+5 -3

No files matched your search

@@ -109,7 +109,7 @@ void RiuSummaryCurveDefSelectionDialog::setEnsembleAndAddress(RimSummaryCaseColl
//--------------------------------------------------------------------------------------------------
std::vector<RiaSummaryCurveDefinition> RiuSummaryCurveDefSelectionDialog::curveSelection() const
{
return summaryAddressSelection()->allCurveDefinitionsFromSelection();
return summaryAddressSelection()->selection();
}
//--------------------------------------------------------------------------------------------------
@@ -142,7 +142,7 @@ RiuSummaryCurveDefSelection* RiuSummaryCurveDefSelectionDialog::summaryAddressSe
void RiuSummaryCurveDefSelectionDialog::updateLabel()
{
QString curveAddressText;
std::vector<RiaSummaryCurveDefinition> sumCasePairs = this->summaryAddressSelection()->allCurveDefinitionsFromSelection();
std::vector<RiaSummaryCurveDefinition> sumCasePairs = this->summaryAddressSelection()->selection();
if (sumCasePairs.size() == 1)
{
curveAddressText = sumCasePairs.front().curveDefinitionText();