From ddab52d4489cc5b6e78bbae339c2253c66acf7ae Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 11 Oct 2005 05:57:22 +0000 Subject: [PATCH] Fix on GVIEW10206 Hangup on calling popups --- src/SVTK/SVTK_RenderWindowInteractor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SVTK/SVTK_RenderWindowInteractor.cxx b/src/SVTK/SVTK_RenderWindowInteractor.cxx index 30117c8f8..a07d4c361 100644 --- a/src/SVTK/SVTK_RenderWindowInteractor.cxx +++ b/src/SVTK/SVTK_RenderWindowInteractor.cxx @@ -317,7 +317,7 @@ void QVTK_RenderWindowInteractor ::enterEvent( QEvent* event ) { - if(qApp->focusWidget() != this) + if(false && qApp->focusWidget() != this) myPreviousFocusWidget = qApp->focusWidget(); QWidget::setFocus(); @@ -330,7 +330,7 @@ void QVTK_RenderWindowInteractor ::leaveEvent( QEvent * ) { - if(myPreviousFocusWidget) + if(false && myPreviousFocusWidget) myPreviousFocusWidget->setFocus(); GetDevice()->LeaveEvent(); -- 2.39.2