mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-24 16:30:35 +05:00
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).
This commit is contained in:
parent
53576d597d
commit
44c126ac12
@ -162,7 +162,7 @@ bool BasicGUI::OnMousePress( QMouseEvent* pe, QAD_Desktop* parent, QAD_StudyFram
|
|||||||
QDialog* aDlg = GeometryGUI::GetGeomGUI()->GetActiveDialogBox();
|
QDialog* aDlg = GeometryGUI::GetGeomGUI()->GetActiveDialogBox();
|
||||||
|
|
||||||
// Create Point dialog, OCC viewer
|
// 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;
|
BasicGUI_PointDlg* aPntDlg = (BasicGUI_PointDlg*) aDlg;
|
||||||
if ( aPntDlg->acceptMouseEvent() )
|
if ( aPntDlg->acceptMouseEvent() )
|
||||||
|
Loading…
Reference in New Issue
Block a user