From: apo Date: Tue, 11 Oct 2005 05:57:22 +0000 (+0000) Subject: Fix on GVIEW10206 X-Git-Tag: BR-D5-38-2003_D2005-12-10~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ddab52d4489cc5b6e78bbae339c2253c66acf7ae;p=modules%2Fgui.git Fix on GVIEW10206 Hangup on calling popups --- 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();