]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Don't allow to empty toolbar will be shown
authorstv <stv@opencascade.com>
Tue, 7 Jun 2005 03:56:39 +0000 (03:56 +0000)
committerstv <stv@opencascade.com>
Tue, 7 Jun 2005 03:56:39 +0000 (03:56 +0000)
src/Qtx/QtxToolBar.cxx

index d1b888f10f17f841f7a5aa212988fe5dd407430f..ae46ca5b87d603fff0c2d3b8207db40e16f79d3f 100644 (file)
@@ -76,7 +76,7 @@ bool QtxToolBar::Watcher::eventFilter( QObject* o, QEvent* e )
 
   bool updVis = ( o != myCont && ( e->type() == QEvent::Show || e->type() == QEvent::ShowToParent ||
                                    e->type() == QEvent::Hide || e->type() == QEvent::HideToParent ) ) ||
-                ( o == myCont && e->type() == QEvent::ChildRemoved );
+                ( o == myCont && ( e->type() == QEvent::ChildRemoved || e->type() == QEvent::Show || e->type() == QEvent::ShowToParent ) );
 
   if ( updVis )
   {