mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Mark single table VFP plot as obsolete
Remove features to create obsoleted plot. Remove plot creation functions. Rename to RimVfpPlot_deprecated
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
|
||||
#include "RimMainPlotCollection.h"
|
||||
|
||||
#include "VerticalFlowPerformance/RimCustomVfpPlot.h"
|
||||
#include "VerticalFlowPerformance/RimVfpDataCollection.h"
|
||||
#include "VerticalFlowPerformance/RimVfpPlot.h"
|
||||
#include "VerticalFlowPerformance/RimVfpPlotCollection.h"
|
||||
|
||||
#include "RiuFileDialogTools.h"
|
||||
@@ -76,7 +76,7 @@ void RicImportVfpDataFeature::onActionTriggered( bool isChecked )
|
||||
for ( const auto& fileName : fileNames )
|
||||
{
|
||||
auto vfpDataSource = vfpDataColl->appendTableDataObject( fileName );
|
||||
auto firstPlot = vfpPlotColl->createAndAppendPlots( vfpDataSource );
|
||||
auto firstPlot = vfpPlotColl->createAndAppendPlots( vfpDataSource, {} );
|
||||
vfpDataColl->updateAllRequiredEditors();
|
||||
RiuPlotMainWindowTools::onObjectAppended( firstPlot, firstPlot );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user