mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6570 Make both curve calculator and Analysis plot vector selection work.
This commit is contained in:
parent
1bde6f8aeb
commit
49be87e38a
@ -85,10 +85,13 @@ void RiuSummaryVectorSelectionDialog::setCaseAndAddress( RimSummaryCase*
|
||||
curveDefs.push_back( RiaSummaryCurveDefinition( summaryCase, address, false ) );
|
||||
summaryAddressSelection()->setSelectedCurveDefinitions( curveDefs );
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
// Still need to update the editors
|
||||
summaryAddressSelection()->updateConnectedEditors();
|
||||
updateLabel();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@ -102,10 +105,13 @@ void RiuSummaryVectorSelectionDialog::setEnsembleAndAddress( RimSummaryCaseColle
|
||||
curveDefs.push_back( RiaSummaryCurveDefinition( ensemble, address ) );
|
||||
setCurveSelection( curveDefs );
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user