From: ouv Date: Tue, 20 Jul 2010 13:56:59 +0000 (+0000) Subject: Fix of bug with incorrect selection after double-click in the viewer X-Git-Tag: DIAGRAM_0_1~53 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=63a66cc8e9e8ba4ea6f15e9d69bdb025bc3aaf7c;p=modules%2Fgui.git Fix of bug with incorrect selection after double-click in the viewer --- diff --git a/src/GLViewer/GLViewer_ViewPort2d.cxx b/src/GLViewer/GLViewer_ViewPort2d.cxx index d8c70913c..9710a4a2d 100644 --- a/src/GLViewer/GLViewer_ViewPort2d.cxx +++ b/src/GLViewer/GLViewer_ViewPort2d.cxx @@ -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 ); }