]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx
Salome HOME
PAL13330( When mesh generation does not success, trace where )
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MakeNodeAtPointDlg.cxx
index 4f076c55145e8b629f1667a8f4ff56e3e92c2f8c..b21ad3260cb676f1668fe1d39c308d672a133d16 100644 (file)
@@ -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" ) );