From: stv Date: Fri, 3 Jun 2005 06:31:36 +0000 (+0000) Subject: Bug fix: Splitter without area was hided even it contains another visible splitters X-Git-Tag: T3_0_0_a1~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d093449500c72770177d02e53731e6bcdd9bac59;p=modules%2Fgui.git Bug fix: Splitter without area was hided even it contains another visible splitters --- diff --git a/src/Qtx/QtxWorkstack.cxx b/src/Qtx/QtxWorkstack.cxx index 8fd98059c..9ff6351e0 100644 --- a/src/Qtx/QtxWorkstack.cxx +++ b/src/Qtx/QtxWorkstack.cxx @@ -491,6 +491,9 @@ void QtxWorkstack::updateState( QSplitter* split ) if ( split == mySplit ) return; + for ( QPtrListIterator iter( splitList ); iter.current() && !vis; ++iter ) + vis = iter.current()->isVisibleTo( iter.current()->parentWidget() ); + if ( areaList.isEmpty() && splitList.isEmpty() ) delete split; else if ( vis )