diff --git a/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx b/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx index 4f076c551..b21ad3260 100644 --- a/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx @@ -348,6 +348,9 @@ void SMESHGUI_MakeNodeAtPointOp::stopOperation() bool SMESHGUI_MakeNodeAtPointOp::onApply() { + if( isStudyLocked() ) + return false; + if ( !myMeshActor ) { SUIT_MessageBox::warn1( dlg(), tr( "SMESH_WRN_WARNING" ), tr("INVALID_MESH"), tr( "SMESH_BUT_OK" ) );