mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2091 Cross Plot : Rename to using X or Y as postfix to interface
This commit is contained in:
@@ -53,13 +53,13 @@ void RiaSummaryTools::notifyCalculatedCurveNameHasChanged(const QString& previou
|
||||
{
|
||||
for (RimSummaryCurve* curve : plot->summaryCurves())
|
||||
{
|
||||
RifEclipseSummaryAddress adr = curve->summaryAddress();
|
||||
RifEclipseSummaryAddress adr = curve->summaryAddressY();
|
||||
if (adr.category() == RifEclipseSummaryAddress::SUMMARY_CALCULATED)
|
||||
{
|
||||
if (adr.quantityName() == previousCurveName.toStdString())
|
||||
{
|
||||
RifEclipseSummaryAddress updatedAdr = RifEclipseSummaryAddress::calculatedCurveAddress(currentCurveName.toStdString());
|
||||
curve->setSummaryAddress(updatedAdr);
|
||||
curve->setSummaryAddressY(updatedAdr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user