#2579 2D Intersection View: apply Info Box on/off in main view to 2Dview

This commit is contained in:
Rebecca Cox
2018-03-06 16:05:01 +01:00
parent fab8f2d6a0
commit 3c26640f56
3 changed files with 44 additions and 15 deletions

View File

@@ -177,6 +177,15 @@ void Rim2dIntersectionView::update3dInfo()
RimEclipseView * eclView = nullptr;
m_intersection->firstAncestorOrThisOfType(eclView);
if (eclView && !eclView->overlayInfoConfig()->isActive())
{
m_viewer->showInfoText(false);
m_viewer->showHistogram(false);
m_viewer->showAnimationProgress(false);
m_viewer->update();
return;
}
if (eclView && eclView->overlayInfoConfig()->showCaseInfo())
{
overlayInfoText += "<b>--" + ownerCase()->caseUserDescription() + "--</b>";