]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL13330( When mesh generation does not success, trace where )
authoreap <eap@opencascade.com>
Tue, 10 Apr 2007 14:09:51 +0000 (14:09 +0000)
committereap <eap@opencascade.com>
Tue, 10 Apr 2007 14:09:51 +0000 (14:09 +0000)
+  if( isStudyLocked() )
+    return false;

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" ) );