mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor: Do not search for visible categories if view is closed
This commit is contained in:
parent
fb28f7e6c8
commit
85b333d06d
@ -2141,7 +2141,7 @@ void RimEclipseResultDefinition::updateRangesForExplicitLegends( RimRegularLegen
|
|||||||
{
|
{
|
||||||
RimEclipseView* eclView = nullptr;
|
RimEclipseView* eclView = nullptr;
|
||||||
this->firstAncestorOrThisOfType( eclView );
|
this->firstAncestorOrThisOfType( eclView );
|
||||||
if ( eclView )
|
if ( eclView && eclView->showWindow() )
|
||||||
{
|
{
|
||||||
// Check if current result is cell result, and update the visible set of values
|
// 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
|
// TODO: Can be extended to the separate geometry results (separate fault result, separate
|
||||||
|
Loading…
Reference in New Issue
Block a user