]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix for PAL8309(now, if the ctrl key is pressed, the input coordinates function(by...
authormzn <mzn@opencascade.com>
Mon, 28 Feb 2005 13:15:14 +0000 (13:15 +0000)
committermzn <mzn@opencascade.com>
Mon, 28 Feb 2005 13:15:14 +0000 (13:15 +0000)
src/BasicGUI/BasicGUI.cxx

index 9398230f379115814285907e594de989089ba6fd..b01d6c7aebafc06e7f71a06df193d7035b7b6afb 100644 (file)
@@ -162,7 +162,7 @@ bool BasicGUI::OnMousePress( QMouseEvent* pe, QAD_Desktop* parent, QAD_StudyFram
   QDialog* aDlg = GeometryGUI::GetGeomGUI()->GetActiveDialogBox();
 
   // Create Point dialog, OCC viewer 
-  if ( aDlg && aDlg->isA( "BasicGUI_PointDlg" ) && theFrame->getTypeView() == VIEW_OCC )
+  if ( aDlg && aDlg->isA( "BasicGUI_PointDlg" ) && theFrame->getTypeView() == VIEW_OCC &&  pe->state() != Qt::ControlButton )
   {
     BasicGUI_PointDlg* aPntDlg = (BasicGUI_PointDlg*) aDlg;
     if ( aPntDlg->acceptMouseEvent() )