#5399 Export LAS-curves of WBS-parameters with the LAS-name rather than the Ui name

This commit is contained in:
Gaute Lindkvist
2020-01-28 10:09:23 +01:00
parent a399a843b0
commit b40f3dcd39
18 changed files with 113 additions and 45 deletions

View File

@@ -454,10 +454,10 @@ void RimWellLogCurveCommonDataSource::updateCurvesAndTracks( const std::vector<R
if ( wellPathToApply() != nullptr )
{
fileCurve->setWellPath( wellPathToApply() );
if ( !fileCurve->wellLogChannelName().isEmpty() )
if ( !fileCurve->wellLogChannelUiName().isEmpty() )
{
RimWellLogFile* logFile = wellPathToApply()->firstWellLogFileMatchingChannelName(
fileCurve->wellLogChannelName() );
fileCurve->wellLogChannelUiName() );
fileCurve->setWellLogFile( logFile );
RimWellLogPlot* parentPlot = nullptr;
fileCurve->firstAncestorOrThisOfTypeAsserted( parentPlot );