mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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:
@@ -185,8 +185,6 @@ RiuViewer::~RiuViewer()
|
||||
{
|
||||
if (m_rimView)
|
||||
{
|
||||
m_rimView->handleMdiWindowClosed();
|
||||
|
||||
m_rimView->setCameraPosition(m_mainCamera->viewMatrix());
|
||||
m_rimView->setCameraPointOfInterest(pointOfInterest());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user