From 44c126ac12f74dd036aa5cad2183d981704ddf5c Mon Sep 17 00:00:00 2001 From: mzn Date: Mon, 28 Feb 2005 13:13:34 +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