mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1923 Add no-plot-update versions of update methods in curve system. onLoadDataAndUpdate is improved for summary curve but not always called with the "no update" flag set
This commit is contained in:
@@ -100,7 +100,7 @@ void RicAddWellLogToPlotFeature::onActionTriggered(bool isChecked)
|
||||
curve->setWellPath(wellPath);
|
||||
curve->setWellLogChannelName(wellLog->name());
|
||||
|
||||
curve->loadDataAndUpdate();
|
||||
curve->loadDataAndUpdate(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ void RicChangeDataSourceFeature::onActionTriggered(bool isChecked)
|
||||
extractionCurve->setWellPath(featureUi.wellPathToApply);
|
||||
extractionCurve->setCase(featureUi.caseToApply);
|
||||
|
||||
extractionCurve->loadDataAndUpdate();
|
||||
extractionCurve->loadDataAndUpdate(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ void RicNewWellLogCurveExtractionFeature::onActionTriggered(bool isChecked)
|
||||
RimWellLogTrack* wellLogPlotTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack();
|
||||
RimWellLogExtractionCurve* plotCurve = addCurve(wellLogPlotTrack, RiaApplication::instance()->activeReservoirView(), wellPath, simWell, branchIndex);
|
||||
|
||||
plotCurve->loadDataAndUpdate();
|
||||
plotCurve->loadDataAndUpdate(true);
|
||||
|
||||
RimWellLogPlot* plot = NULL;
|
||||
wellLogPlotTrack->firstAncestorOrThisOfType(plot);
|
||||
|
||||
@@ -174,7 +174,7 @@ void RicNewWellLogFileCurveFeature::addWellLogChannelsToPlotTrack(RimWellLogTrac
|
||||
{
|
||||
plotCurve->setWellPath(wellPath);
|
||||
plotCurve->setWellLogChannelName(wellLogFileChannels[cIdx]->name());
|
||||
plotCurve->loadDataAndUpdate();
|
||||
plotCurve->loadDataAndUpdate(true);
|
||||
plotCurve->updateConnectedEditors();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ void RicPasteWellLogCurveFeature::onActionTriggered(bool isChecked)
|
||||
newObject->resolveReferencesRecursively();
|
||||
newObject->initAfterReadRecursively();
|
||||
|
||||
newObject->loadDataAndUpdate();
|
||||
newObject->loadDataAndUpdate(true);
|
||||
|
||||
wellLogTrack->updateConnectedEditors();
|
||||
}
|
||||
@@ -105,7 +105,7 @@ void RicPasteWellLogCurveFeature::onActionTriggered(bool isChecked)
|
||||
newObject->resolveReferencesRecursively();
|
||||
newObject->initAfterReadRecursively();
|
||||
|
||||
newObject->loadDataAndUpdate();
|
||||
newObject->loadDataAndUpdate(true);
|
||||
|
||||
wellLogTrack->updateConnectedEditors();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user