From e6005d5f2ec68377e5d03a60f733e60557949485 Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 25 Jan 2021 16:30:19 +0300 Subject: [PATCH] #20430 [CEA 20428] FIELDS : improvement of simplified visualisations. --- src/LightApp/LightApp_Application.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index d9379a40a..6887ec295 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -5274,7 +5274,7 @@ void LightApp_Application::updateVisibilityState( DataObjectList& theList, if ( aDisplayer ) { Qtx::VisibilityState anObjState = Qtx::UnpresentableState; if ( aDisplayer->canBeDisplayed( obj->entry(), theViewModel->getType() ) ) { - if ( aView && aDisplayer->IsDisplayed( obj->entry(), aView ) ) + if ( aDisplayer->IsDisplayed( obj->entry(), aView ) ) anObjState = Qtx::ShownState; else anObjState = Qtx::HiddenState; -- 2.39.2