From: akl Date: Fri, 22 Aug 2008 16:16:00 +0000 (+0000) Subject: Correction integration for issue 0016100: EDF 429 VISU : Automatic creation of a... X-Git-Tag: TG_TRIPOLI_qt4_porting~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a4c64a90340b1cc328a2afaf58234d5d83bda605;p=modules%2Fgui.git Correction integration for issue 0016100: EDF 429 VISU : Automatic creation of a view Plot2D when we display a curve. --- 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 ); } /*!