mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-01 08:38:00 -06:00
Make sure duplication of RFT plot works as expected
This commit is contained in:
1 parent
2fc12a35e2
commit
79a7e94c8b
3 files changed
+46
-32
No files matched your search
@@ -108,7 +108,7 @@ void RicCreateRftPlotsFeature::appendRftPlotForWell( const QString& wellName, Ri
|
||||
rftPlot->setSimWellOrWellPathName( wellName );
|
||||
rftPlotColl->addPlot( rftPlot );
|
||||
rftPlot->resolveReferencesRecursively();
|
||||
rftPlot->applyInitialSelections( sourcePlot->dataSource() );
|
||||
rftPlot->initializeDataSources( sourcePlot );
|
||||
|
||||
const auto generatedName = rftPlot->simWellOrWellPathName(); // We may have been given a default well name
|
||||
const QString plotName = QString( RimWellRftPlot::plotNameFormatString() ).arg( generatedName );
|
||||
@@ -142,7 +142,7 @@ void RicCreateRftPlotsFeature::appendRftPlotForWell( const QString& wellName, Ri
|
||||
plotTrack->setDescription( QString( "Track %1" ).arg( rftPlot->plotCount() ) );
|
||||
|
||||
rftPlotColl->addPlot( rftPlot );
|
||||
rftPlot->applyInitialSelections( {} );
|
||||
rftPlot->initializeDataSources( nullptr );
|
||||
|
||||
const auto generatedName = rftPlot->simWellOrWellPathName(); // We may have been given a default well name
|
||||
const QString plotName = QString( RimWellRftPlot::plotNameFormatString() ).arg( generatedName );
|
||||
|
||||
Reference in new issue
Block a user