#1181 Do not automatically update track names when adding new tracks

This commit is contained in:
Magne Sjaastad 2017-02-09 08:35:33 +01:00
parent 6e901cdb12
commit 5df94a1e18
2 changed files with 2 additions and 2 deletions

View File

@ -82,6 +82,8 @@ void RicPasteWellLogTrackFeature::onActionTriggered(bool isChecked)
wellLogPlot->addTrack(newObject);
newObject->setDescription(QString("Track %1").arg(wellLogPlot->trackCount()));
// Resolve references after object has been inserted into the project data model
newObject->resolveReferencesRecursively();
newObject->initAfterReadRecursively();

View File

@ -145,8 +145,6 @@ void RimWellLogPlot::addTrack(RimWellLogTrack* track)
track->recreateViewer();
m_viewer->addTrackPlot(track->viewer());
}
updateTrackNames();
}
//--------------------------------------------------------------------------------------------------