From a4c64a90340b1cc328a2afaf58234d5d83bda605 Mon Sep 17 00:00:00 2001 From: akl Date: Fri, 22 Aug 2008 16:16:00 +0000 Subject: [PATCH] Correction integration for issue 0016100: EDF 429 VISU : Automatic creation of a view Plot2D when we display a curve. --- src/LightApp/LightApp_Displayer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LightApp/LightApp_Displayer.cxx b/src/LightApp/LightApp_Displayer.cxx index 51abdaf7a..17587f310 100644 --- a/src/LightApp/LightApp_Displayer.cxx +++ b/src/LightApp/LightApp_Displayer.cxx @@ -236,7 +236,7 @@ bool LightApp_Displayer::canBeDisplayed( const QString& entry ) const if( SUIT_ViewManager* vman = sApp->activeViewManager() ) if( SUIT_ViewModel* vmod = vman->getViewModel() ) viewerType = vmod->getType(); - return !viewerType.isNull() && canBeDisplayed( entry, viewerType ); + return canBeDisplayed( entry, viewerType ); } /*! -- 2.39.2