#739 Show sum plot on creation. Load when opening project. Delete on close project

This commit is contained in:
Jacob Støren
2016-05-25 14:05:31 +02:00
parent f8729a035c
commit 38c15f57f2
3 changed files with 32 additions and 2 deletions
@@ -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);