#1321 Close the Flow Characteristics plot when closing the project

This commit is contained in:
Jacob Støren 2017-03-30 10:07:51 +02:00
parent c30afc9ece
commit 4e4b7fb023

View File

@ -63,6 +63,9 @@ void RimFlowPlotCollection::closeDefaultPlotWindowAndDeletePlots()
m_defaultWellAllocPlot->removeFromMdiAreaAndDeleteViewWidget();
delete m_defaultWellAllocPlot();
}
delete m_flowCharacteristicsPlot;
m_storedWellAllocPlots.deleteAllChildObjects();
}