diff --git a/ApplicationCode/UserInterface/RiuMainWindow.cpp b/ApplicationCode/UserInterface/RiuMainWindow.cpp index 39f1f0b95a..ce225634a4 100644 --- a/ApplicationCode/UserInterface/RiuMainWindow.cpp +++ b/ApplicationCode/UserInterface/RiuMainWindow.cpp @@ -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(subWindow->widget()); if (wellLogPlotViewer) { @@ -1371,6 +1372,7 @@ void RiuMainWindow::slotSubWindowActivated(QMdiSubWindow* subWindow) } } } + #endif // Iterate all cases in each oil field std::vector allCases;