mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
PAL13330( When mesh generation does not success, trace where )
+ if( isStudyLocked() ) + return false;
This commit is contained in:
parent
a68d1c0471
commit
642f5a42a7
@ -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" ) );
|
||||
|
Loading…
Reference in New Issue
Block a user