Janitor: Do not search for visible categories if view is closed

This commit is contained in:
Magne Sjaastad 2021-06-11 09:37:26 +02:00
parent fb28f7e6c8
commit 85b333d06d

View File

@ -2141,7 +2141,7 @@ void RimEclipseResultDefinition::updateRangesForExplicitLegends( RimRegularLegen
{
RimEclipseView* eclView = nullptr;
this->firstAncestorOrThisOfType( eclView );
if ( eclView )
if ( eclView && eclView->showWindow() )
{
// Check if current result is cell result, and update the visible set of values
// TODO: Can be extended to the separate geometry results (separate fault result, separate