mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#493) Blocking MDI window activation handler when toggling off well log plot
This commit is contained in:
@@ -114,7 +114,10 @@ void RimWellLogPlot::updateViewerWidget()
|
||||
{
|
||||
windowGeometry = RiuMainWindow::instance()->windowGeometryForViewer(m_viewer);
|
||||
|
||||
RiuMainWindow::instance()->blockSubWindowActivatedSlot(true);
|
||||
RiuMainWindow::instance()->removeViewer(m_viewer);
|
||||
RiuMainWindow::instance()->blockSubWindowActivatedSlot(false);
|
||||
|
||||
detachAllCurves();
|
||||
delete m_viewer;
|
||||
m_viewer = NULL;
|
||||
|
||||
Reference in New Issue
Block a user