mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-15 02:26:18 -06:00
#739 Show sum plot on creation. Load when opening project. Delete on close project
This commit is contained in:
1 parent
f8729a035c
commit
38c15f57f2
3 files changed
+32
-2
No files matched your search
@@ -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