]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Bug fix: Splitter without area was hided even it contains another visible splitters
authorstv <stv@opencascade.com>
Fri, 3 Jun 2005 06:31:36 +0000 (06:31 +0000)
committerstv <stv@opencascade.com>
Fri, 3 Jun 2005 06:31:36 +0000 (06:31 +0000)
src/Qtx/QtxWorkstack.cxx

index 8fd98059c62a79fd554dc04eb9c82705478f0dde..9ff6351e0f32f7b8b639d6ed8e7320a5c19ea865 100644 (file)
@@ -491,6 +491,9 @@ void QtxWorkstack::updateState( QSplitter* split )
   if ( split == mySplit )
     return;
 
+  for ( QPtrListIterator<QSplitter> iter( splitList ); iter.current() && !vis; ++iter )
+    vis = iter.current()->isVisibleTo( iter.current()->parentWidget() );
+
   if ( areaList.isEmpty() && splitList.isEmpty() )
     delete split;
   else if ( vis )