mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2579 2D Intersection View: apply Info Box on/off in main view to 2Dview
This commit is contained in:
@@ -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>";
|
||||
|
||||
Reference in New Issue
Block a user