Add deleteAllCurves method, and rename removeCurve to takeOutCurve in order to minimize wrong use.

This commit is contained in:
Jacob Støren
2017-11-15 10:41:00 +01:00
parent f14eb44efd
commit 07264140cb
4 changed files with 16 additions and 11 deletions

View File

@@ -46,7 +46,7 @@ void RicWellLogPlotTrackFeatureImpl::moveCurvesToWellLogPlotTrack(RimWellLogTrac
curve->firstAncestorOrThisOfType(wellLogPlotTrack);
if (wellLogPlotTrack)
{
wellLogPlotTrack->removeCurve(curve);
wellLogPlotTrack->takeOutCurve(curve);
wellLogPlotTrack->updateConnectedEditors();
srcTracks.insert(wellLogPlotTrack);
RimWellLogPlot* plot;