]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Correction integration for issue 0016100: EDF 429 VISU : Automatic creation of a...
authorakl <akl@opencascade.com>
Fri, 22 Aug 2008 16:16:00 +0000 (16:16 +0000)
committerakl <akl@opencascade.com>
Fri, 22 Aug 2008 16:16:00 +0000 (16:16 +0000)
src/LightApp/LightApp_Displayer.cxx

index 51abdaf7a49d195623712e539c03ee3531a1d907..17587f3103dbc139d3339edb794b035350b24fd6 100644 (file)
@@ -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 );
 }
 
 /*!