mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #8865 from OPM/8863-summary-issues
This commit is contained in:
@@ -1132,6 +1132,7 @@ void RimSummaryCurve::fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
candicateAddress = m_xValuesSummaryAddress->address();
|
||||
}
|
||||
|
||||
dlg.hideEnsembles();
|
||||
dlg.setCaseAndAddress( candidateCase, candicateAddress );
|
||||
|
||||
if ( dlg.exec() == QDialog::Accepted )
|
||||
@@ -1165,6 +1166,7 @@ void RimSummaryCurve::fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
candicateAddress = m_yValuesSummaryAddress->address();
|
||||
}
|
||||
|
||||
dlg.hideEnsembles();
|
||||
dlg.setCaseAndAddress( candidateCase, candicateAddress );
|
||||
|
||||
if ( dlg.exec() == QDialog::Accepted )
|
||||
|
||||
@@ -2453,6 +2453,11 @@ void RimSummaryPlot::updateCurveNames()
|
||||
for ( auto curveSet : m_ensembleCurveSetCollection->curveSets() )
|
||||
{
|
||||
curveSet->updateEnsembleLegendItem();
|
||||
|
||||
if ( curveSet->isCurvesVisible() )
|
||||
{
|
||||
shortCurveNames.append( QString::fromStdString( curveSet->summaryAddress().quantityName() ) );
|
||||
}
|
||||
}
|
||||
|
||||
m_alternatePlotName = shortCurveNames.join( "," );
|
||||
@@ -2504,6 +2509,8 @@ void RimSummaryPlot::onCurveCollectionChanged( const SignalEmitter* emitter )
|
||||
{
|
||||
updateStackedCurveData();
|
||||
if ( plotWidget() ) plotWidget()->scheduleReplot();
|
||||
|
||||
updateAllRequiredEditors();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user