mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Removed ui update code that is not needed (#311)
This commit is contained in:
parent
2ca5151c6c
commit
f55b6d2519
@ -693,9 +693,6 @@ void RimEclipseView::loadDataAndUpdate()
|
|||||||
{
|
{
|
||||||
setDefaultView();
|
setDefaultView();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool resultPresent = cellResult() ? cellResult()->hasStaticResult() || cellResult()->hasDynamicResult() : false;
|
|
||||||
uiEnableDisableLighting(resultPresent);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -187,8 +187,6 @@ void RimGeoMechResultSlot::fieldChangedByUi(const caf::PdmFieldHandle* changedFi
|
|||||||
if (m_reservoirView->geoMechCase()->geoMechData()->femPartResults()->assertResultsLoaded(this->resultAddress()))
|
if (m_reservoirView->geoMechCase()->geoMechData()->femPartResults()->assertResultsLoaded(this->resultAddress()))
|
||||||
{
|
{
|
||||||
m_reservoirView->hasUserRequestedAnimation = true;
|
m_reservoirView->hasUserRequestedAnimation = true;
|
||||||
m_reservoirView->uiEnableDisableLighting(true);
|
|
||||||
RiuMainWindow::instance()->refreshDrawStyleActions();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_reservoirView->createDisplayModelAndRedraw();
|
m_reservoirView->createDisplayModelAndRedraw();
|
||||||
|
@ -71,8 +71,6 @@ void RimResultSlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, co
|
|||||||
if (oldValue != newValue)
|
if (oldValue != newValue)
|
||||||
{
|
{
|
||||||
changeLegendConfig(this->resultVariable());
|
changeLegendConfig(this->resultVariable());
|
||||||
if (m_reservoirView) m_reservoirView->uiEnableDisableLighting(true);
|
|
||||||
RiuMainWindow::instance()->refreshDrawStyleActions();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (newValue != RimDefines::undefinedResultName())
|
if (newValue != RimDefines::undefinedResultName())
|
||||||
|
Loading…
Reference in New Issue
Block a user