From: eap Date: Tue, 10 Apr 2007 14:09:51 +0000 (+0000) Subject: PAL13330( When mesh generation does not success, trace where ) X-Git-Tag: V3_2_6pre4~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=642f5a42a76e1b6217074764b7c072eb4611363e;p=modules%2Fsmesh.git PAL13330( When mesh generation does not success, trace where ) + if( isStudyLocked() ) + return false; --- 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" ) );