From 3f55813c94018bb003b1ff219a0088dbbaded748 Mon Sep 17 00:00:00 2001 From: mzn Date: Mon, 28 Feb 2005 13:15:14 +0000 Subject: [PATCH] Fix for PAL8309(now, if the ctrl key is pressed, the input coordinates function(by mouse clicking in the viewer) should be disabled in the "Point Construction" dialog). --- src/BasicGUI/BasicGUI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BasicGUI/BasicGUI.cxx b/src/BasicGUI/BasicGUI.cxx index 9398230f3..b01d6c7ae 100644 --- a/src/BasicGUI/BasicGUI.cxx +++ b/src/BasicGUI/BasicGUI.cxx @@ -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() ) -- 2.39.2