mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 18:02:12 -05:00
Renaming in the aftermath of the MDI window control refactorization. Aligned fieldChangedByUi in that respact as well.
This commit is contained in:
1 parent
a1aec0b5e0
commit
c025c2a3d7
16 files changed
+82
-101
No files matched your search
@@ -187,24 +187,11 @@ void RimEclipseView::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
|
||||
{
|
||||
if (showWindow)
|
||||
{
|
||||
bool generateDisplayModel = (viewer() == NULL);
|
||||
updateViewerWidgetBasic();
|
||||
|
||||
if (generateDisplayModel)
|
||||
{
|
||||
updateDisplayModelForWellResults();
|
||||
}
|
||||
loadDataAndUpdate();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_viewer)
|
||||
{
|
||||
this->setMdiWindowGeometry( RiuMainWindow::instance()->windowGeometryForViewer(m_viewer->layoutWidget()));
|
||||
|
||||
RiuMainWindow::instance()->removeViewer(m_viewer->layoutWidget());
|
||||
delete m_viewer;
|
||||
m_viewer = NULL;
|
||||
}
|
||||
updateMdiWindowVisibility();
|
||||
}
|
||||
|
||||
this->updateUiIconFromToggleField();
|
||||
@@ -689,7 +676,7 @@ void RimEclipseView::loadDataAndUpdate()
|
||||
|
||||
this->faultResultSettings()->customFaultResult()->loadResult();
|
||||
|
||||
updateViewerWidgetBasic();
|
||||
updateMdiWindowVisibility();
|
||||
|
||||
this->m_propertyFilterCollection()->loadAndInitializePropertyFilters();
|
||||
|
||||
@@ -697,6 +684,8 @@ void RimEclipseView::loadDataAndUpdate()
|
||||
this->faultCollection()->syncronizeFaults();
|
||||
|
||||
m_reservoirGridPartManager->clearGeometryCache();
|
||||
m_pipesPartManager->clearGeometryCache();
|
||||
m_wellSpheresPartManager->clearGeometryCache();
|
||||
|
||||
syncronizeWellsWithResults();
|
||||
|
||||
|
||||
Reference in new issue
Block a user