]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix on GVIEW10206
authorapo <apo@opencascade.com>
Tue, 11 Oct 2005 05:57:22 +0000 (05:57 +0000)
committerapo <apo@opencascade.com>
Tue, 11 Oct 2005 05:57:22 +0000 (05:57 +0000)
Hangup on calling popups

src/SVTK/SVTK_RenderWindowInteractor.cxx

index 30117c8f8f13ba474418f6bb8c3d2ae8cab9284b..a07d4c3615ced39b4218ab52587f7dad68c2830e 100644 (file)
@@ -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();