]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix of bug with incorrect selection after double-click in the viewer
authorouv <ouv@opencascade.com>
Tue, 20 Jul 2010 13:56:59 +0000 (13:56 +0000)
committerouv <ouv@opencascade.com>
Tue, 20 Jul 2010 13:56:59 +0000 (13:56 +0000)
src/GLViewer/GLViewer_ViewPort2d.cxx

index d8c70913c5c3728bf69196cd216b19392d3a60b5..9710a4a2d7721041217830de593dca48bad76837 100644 (file)
@@ -442,8 +442,12 @@ void GLViewer_ViewPort2d::mouseReleaseEvent( QMouseEvent* e )
 */
 void GLViewer_ViewPort2d::mouseDoubleClickEvent( QMouseEvent * e )
 {
+  // OUV: this fix (PTV, 2005-08-01, revision 1.3) seems to be
+  // non-actual for the current version - therefore disabled
+  /*
   //redefined to block mouse release after mouse double click
   myIsMouseReleaseBlock = true;
+  */
   // invoke base implementation
   GLViewer_ViewPort::mouseDoubleClickEvent( e );
 }