mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#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:
parent
b1b428971e
commit
f753593380
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user