mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#739 Show sum plot on creation. Load when opening project. Delete on close project
This commit is contained in:
@@ -145,6 +145,11 @@ void RimProject::close()
|
||||
mainPlotCollection()->wellLogPlotCollection()->wellLogPlots.deleteAllChildObjects();
|
||||
}
|
||||
|
||||
if (mainPlotCollection() && mainPlotCollection()->summaryPlotCollection())
|
||||
{
|
||||
mainPlotCollection()->summaryPlotCollection()->m_summaryPlots.deleteAllChildObjects();
|
||||
}
|
||||
|
||||
oilFields.deleteAllChildObjects();
|
||||
oilFields.push_back(new RimOilField);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user