From: rnv Date: Mon, 25 Jan 2021 13:30:19 +0000 (+0300) Subject: #20430 [CEA 20428] FIELDS : improvement of simplified visualisations. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Frnv%2Fimps_20430;p=modules%2Fgui.git #20430 [CEA 20428] FIELDS : improvement of simplified visualisations. --- 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;