Batch: Fixed crash related to statistics calculations

This commit is contained in:
Jacob Støren committed 2013-12-20 14:46:21 +01:00
1 parent 8abfbd3730
commit ff361b39ef
3 files changed
+17 -10

No files matched your search

@@ -964,10 +964,16 @@ void RimUiTreeView::slotComputeStatistics()
statisticsCase->computeStatistics();
statisticsCase->scheduleACTIVEGeometryRegenOnReservoirViews();
statisticsCase->updateConnectedEditorsAndReservoirViews();
if (statisticsCase->reservoirViews.size() == 0)
{
slotAddView();
}
}
//--------------------------------------------------------------------------------------------------