mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#623) Keep view position when toggle on/off
This commit is contained in:
@@ -201,6 +201,8 @@ void RimEclipseView::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
|
||||
{
|
||||
if (m_viewer)
|
||||
{
|
||||
windowGeometry = RiuMainWindow::instance()->windowGeometryForViewer(m_viewer->layoutWidget());
|
||||
|
||||
RiuMainWindow::instance()->removeViewer(m_viewer->layoutWidget());
|
||||
delete m_viewer;
|
||||
m_viewer = NULL;
|
||||
|
||||
Reference in New Issue
Block a user