From: stv Date: Tue, 7 Jun 2005 03:56:39 +0000 (+0000) Subject: Don't allow to empty toolbar will be shown X-Git-Tag: T3_0_0_a2~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b1ce51d690d49019b88be43c52f0fbe42daeb603;p=modules%2Fgui.git Don't allow to empty toolbar will be shown --- diff --git a/src/Qtx/QtxToolBar.cxx b/src/Qtx/QtxToolBar.cxx index d1b888f10..ae46ca5b8 100644 --- a/src/Qtx/QtxToolBar.cxx +++ b/src/Qtx/QtxToolBar.cxx @@ -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 ) {