]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Qt4 porting.
authormkr <mkr@opencascade.com>
Tue, 18 Mar 2008 11:12:37 +0000 (11:12 +0000)
committermkr <mkr@opencascade.com>
Tue, 18 Mar 2008 11:12:37 +0000 (11:12 +0000)
src/LightApp/LightApp_Dialog.cxx

index efa50e54da202a158bd593ba39f0596a917d3ec3..049dc244c8901153511d7b5b7a408830eba1f7d4 100644 (file)
@@ -143,7 +143,9 @@ void LightApp_Dialog::setObjectShown( const int id, const bool shown )
 */
 bool LightApp_Dialog::isObjectShown( const int id ) const
 {
-  return myObjects.contains( id ) && myObjects[ id ].myEdit->isVisible();
+  return myObjects.contains( id ) &&
+         ( myObjects[ id ].myEdit->isVisible() ||
+          myObjects[ id ].myEdit->isVisibleTo( myObjects[ id ].myEdit->parentWidget() ) );
 }
 
 /*!