From b1ce51d690d49019b88be43c52f0fbe42daeb603 Mon Sep 17 00:00:00 2001 From: stv Date: Tue, 7 Jun 2005 03:56:39 +0000 Subject: [PATCH] Don't allow to empty toolbar will be shown --- src/Qtx/QtxToolBar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.2