Renaming in the aftermath of the MDI window control refactorization. Aligned fieldChangedByUi in that respact as well.

This commit is contained in:
Jacob Støren
2017-01-20 11:38:18 +01:00
parent a1aec0b5e0
commit c025c2a3d7
16 changed files with 82 additions and 101 deletions

View File

@@ -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();