(#442) Temporar fix.

Why this code creates the crash is beyond my understanding.
Must be investigated.
For now, get rid of the crash that blocks testing etc...
This commit is contained in:
Jacob Støren committed 2015-09-09 14:30:12 +02:00
1 parent b1b428971e
commit f753593380
1 file changed
+2
@@ -1356,6 +1356,7 @@ void RiuMainWindow::slotSubWindowActivated(QMdiSubWindow* subWindow)
if (!proj) return;
if (!subWindow) return;
#if 0 // Causes crash for some reason
RiuWellLogPlot* wellLogPlotViewer = dynamic_cast<RiuWellLogPlot*>(subWindow->widget());
if (wellLogPlotViewer)
{
@@ -1371,6 +1372,7 @@ void RiuMainWindow::slotSubWindowActivated(QMdiSubWindow* subWindow)
}
}
}
#endif
// Iterate all cases in each oil field
std::vector<RimCase*> allCases;