mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
#4312 Move handleMdiWindowClosed call from widget destructors to MdiSubWindow closeEvent
* This way the mdi window still exists at the time of removal and we can handle the removal orderly
This commit is contained in:
1 parent
e41f8ec149
commit
e0bbda85d9
14 files changed
+59
-98
No files matched your search
@@ -92,11 +92,7 @@ RiuQwtPlot::~RiuQwtPlot()
|
||||
if (ownerPlotDefinition())
|
||||
{
|
||||
ownerPlotDefinition()->detachAllCurves();
|
||||
}
|
||||
if (ownerViewWindow())
|
||||
{
|
||||
ownerViewWindow()->handleMdiWindowClosed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user